mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Privatize Document
This commit is contained in:
parent
d0addd36bb
commit
8825296869
8 changed files with 38 additions and 22 deletions
|
@ -49,7 +49,7 @@ impl TreeWalker {
|
|||
root_node: JSRef<Node>,
|
||||
what_to_show: u32,
|
||||
filter: Filter) -> Temporary<TreeWalker> {
|
||||
let window = document.window.root();
|
||||
let window = document.window().root();
|
||||
reflect_dom_object(box TreeWalker::new_inherited(root_node, what_to_show, filter),
|
||||
&Window(*window),
|
||||
TreeWalkerBinding::Wrap)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue