Remove Reflectable::wrap_object_shared.

This commit is contained in:
Ms2ger 2013-11-03 11:52:39 +01:00
parent c693cb185c
commit 53731b62ae
23 changed files with 18 additions and 123 deletions

View file

@ -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)
}