mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Add trace hooks for Window and Document, and remove explicit rooting for the root DOM node. Fixes #901.
This commit is contained in:
parent
9640324721
commit
636c30affe
7 changed files with 66 additions and 39 deletions
|
@ -130,7 +130,7 @@ impl Traceable for Node<ScriptView> {
|
|||
}
|
||||
}
|
||||
}
|
||||
error!("tracing %p?:", self.wrapper.get_wrapper());
|
||||
debug!("tracing %p?:", self.wrapper.get_wrapper());
|
||||
trace_node(tracer, self.parent_node, "parent");
|
||||
trace_node(tracer, self.first_child, "first child");
|
||||
trace_node(tracer, self.last_child, "last child");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue