mirror of
https://github.com/servo/servo.git
synced 2025-06-20 23:28:59 +01:00
Remove DerivedWrapper::wrap_shared, as it's unused.
This commit is contained in:
parent
38cea1b2d5
commit
3da1a206d8
9 changed files with 0 additions and 96 deletions
|
@ -738,7 +738,6 @@ pub fn InitIds(cx: *JSContext, specs: &[JSPropertySpec], ids: &mut [jsid]) -> bo
|
|||
|
||||
pub trait DerivedWrapper {
|
||||
fn wrap(&mut self, cx: *JSContext, scope: *JSObject, vp: *mut JSVal) -> i32;
|
||||
fn wrap_shared(@mut self, cx: *JSContext, scope: *JSObject, vp: *mut JSVal) -> i32;
|
||||
}
|
||||
|
||||
impl DerivedWrapper for AbstractNode<ScriptView> {
|
||||
|
@ -752,10 +751,6 @@ impl DerivedWrapper for AbstractNode<ScriptView> {
|
|||
unsafe { *vp = RUST_OBJECT_TO_JSVAL(node::create(cx, self)) };
|
||||
return 1;
|
||||
}
|
||||
|
||||
fn wrap_shared(@mut self, _cx: *JSContext, _scope: *JSObject, _vp: *mut JSVal) -> i32 {
|
||||
fail!(~"nyi")
|
||||
}
|
||||
}
|
||||
|
||||
#[deriving(ToStr)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue