diff options
Diffstat (limited to 'components/script/layout_dom/node.rs')
-rw-r--r-- | components/script/layout_dom/node.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/layout_dom/node.rs b/components/script/layout_dom/node.rs index 20993d7263c..60d3b9ee28a 100644 --- a/components/script/layout_dom/node.rs +++ b/components/script/layout_dom/node.rs @@ -168,7 +168,7 @@ impl<'dom> style::dom::TNode for ServoLayoutNode<'dom> { } fn is_in_document(&self) -> bool { - unsafe { self.node.get_flag(NodeFlags::IS_IN_DOC) } + unsafe { self.node.get_flag(NodeFlags::IS_IN_A_DOCUMENT_TREE) } } } |