mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Merge BindingObject and Reflectable.
This commit is contained in:
parent
f585d218cb
commit
321e0373fa
23 changed files with 62 additions and 200 deletions
|
@ -114,6 +114,12 @@ impl Reflectable for AbstractNode<ScriptView> {
|
|||
fn wrap_object_shared(@mut self, _cx: *JSContext, _scope: *JSObject) -> *JSObject {
|
||||
fail!(~"need to implement wrapping");
|
||||
}
|
||||
|
||||
fn GetParentObject(&self, cx: *JSContext) -> Option<@mut Reflectable> {
|
||||
do self.with_mut_base |base| {
|
||||
base.GetParentObject(cx)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl Traceable for Node<ScriptView> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue