mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Remove unused get_scope_and_cx functions.
This commit is contained in:
parent
ecf741f3ad
commit
5d1eea5f03
2 changed files with 1 additions and 12 deletions
|
@ -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>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue