mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Merge BindingObject and Reflectable.
This commit is contained in:
parent
f585d218cb
commit
321e0373fa
23 changed files with 62 additions and 200 deletions
|
@ -42,6 +42,10 @@ impl Reflectable for Element {
|
|||
fn wrap_object_shared(@mut self, _cx: *JSContext, _scope: *JSObject) -> *JSObject {
|
||||
fail!("no wrapping")
|
||||
}
|
||||
|
||||
fn GetParentObject(&self, cx: *JSContext) -> Option<@mut Reflectable> {
|
||||
self.node.GetParentObject(cx)
|
||||
}
|
||||
}
|
||||
|
||||
#[deriving(Eq)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue