Remove unused get_scope_and_cx functions.

This commit is contained in:
Ms2ger 2013-10-24 16:37:56 +02:00
parent ecf741f3ad
commit 5d1eea5f03
2 changed files with 1 additions and 12 deletions

View file

@ -673,11 +673,6 @@ impl Node<ScriptView> {
}
}
pub fn get_scope_and_cx(&self) -> (*JSObject, *JSContext) {
let win = self.owner_doc().document().window;
(win.reflector().get_jsobject(), win.get_cx())
}
// http://dom.spec.whatwg.org/#concept-node-replace-all
pub fn replace_all(&mut self,
abstract_self: AbstractNode<ScriptView>,