mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Removed JS::root Fixes #8251
This commit is contained in:
parent
521a87180a
commit
d8ef3809a6
25 changed files with 98 additions and 126 deletions
|
@ -67,7 +67,7 @@ impl NodeIterator {
|
|||
impl NodeIteratorMethods for NodeIterator {
|
||||
// https://dom.spec.whatwg.org/#dom-nodeiterator-root
|
||||
fn Root(&self) -> Root<Node> {
|
||||
self.root_node.root()
|
||||
Root::from_ref(&*self.root_node)
|
||||
}
|
||||
|
||||
// https://dom.spec.whatwg.org/#dom-nodeiterator-whattoshow
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue