mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Remove Reflectable::wrap_object_shared.
This commit is contained in:
parent
c693cb185c
commit
53731b62ae
23 changed files with 18 additions and 123 deletions
|
@ -10,7 +10,7 @@ use dom::htmlcollection::HTMLCollection;
|
|||
use dom::node::{AbstractNode, ScriptView, ElementNodeTypeId};
|
||||
use dom::window::Window;
|
||||
|
||||
use js::jsapi::{JSObject, JSContext, JSTracer};
|
||||
use js::jsapi::{JSContext, JSTracer};
|
||||
|
||||
use servo_util::tree::{TreeNodeRef, ElementLike};
|
||||
|
||||
|
@ -89,10 +89,6 @@ impl Reflectable for HTMLDocument {
|
|||
self.parent.mut_reflector()
|
||||
}
|
||||
|
||||
fn wrap_object_shared(@mut self, _cx: *JSContext, _scope: *JSObject) -> *JSObject {
|
||||
unreachable!()
|
||||
}
|
||||
|
||||
fn GetParentObject(&self, cx: *JSContext) -> Option<@mut Reflectable> {
|
||||
self.parent.GetParentObject(cx)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue