mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +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
|
@ -65,7 +65,7 @@ impl TreeWalker {
|
|||
impl TreeWalkerMethods for TreeWalker {
|
||||
// https://dom.spec.whatwg.org/#dom-treewalker-root
|
||||
fn Root(&self) -> Root<Node> {
|
||||
self.root_node.root()
|
||||
Root::from_ref(&*self.root_node)
|
||||
}
|
||||
|
||||
// https://dom.spec.whatwg.org/#dom-treewalker-whattoshow
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue