diff options
author | Andreas Kling <kling@serenityos.org> | 2020-11-22 14:46:36 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-11-22 14:46:36 +0100 |
commit | f358f2255fec7228b7ddf510936a2b7a150e509e (patch) | |
tree | 3880618b67facc7b935df3434d423151f3e5b0e6 /Libraries/LibWeb/Dump.cpp | |
parent | 85859544fa306db03c791df8e56897f3c3089420 (diff) | |
download | serenity-f358f2255fec7228b7ddf510936a2b7a150e509e.zip |
LibWeb: Rename LayoutNode::node() => LayoutNode::dom_node()
Diffstat (limited to 'Libraries/LibWeb/Dump.cpp')
-rw-r--r-- | Libraries/LibWeb/Dump.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Libraries/LibWeb/Dump.cpp b/Libraries/LibWeb/Dump.cpp index 002e71795b..d2eb66758a 100644 --- a/Libraries/LibWeb/Dump.cpp +++ b/Libraries/LibWeb/Dump.cpp @@ -89,18 +89,18 @@ void dump_tree(const LayoutNode& layout_node) FlyString tag_name; if (layout_node.is_anonymous()) tag_name = "(anonymous)"; - else if (is<DOM::Text>(layout_node.node())) + else if (is<DOM::Text>(layout_node.dom_node())) tag_name = "#text"; - else if (is<DOM::Document>(layout_node.node())) + else if (is<DOM::Document>(layout_node.dom_node())) tag_name = "#document"; - else if (is<DOM::Element>(layout_node.node())) - tag_name = downcast<DOM::Element>(*layout_node.node()).local_name(); + else if (is<DOM::Element>(layout_node.dom_node())) + tag_name = downcast<DOM::Element>(*layout_node.dom_node()).local_name(); else tag_name = "???"; String identifier = ""; - if (layout_node.node() && is<DOM::Element>(*layout_node.node())) { - auto& element = downcast<DOM::Element>(*layout_node.node()); + if (layout_node.dom_node() && is<DOM::Element>(*layout_node.dom_node())) { + auto& element = downcast<DOM::Element>(*layout_node.dom_node()); StringBuilder builder; auto id = element.attribute(HTML::AttributeNames::id); if (!id.is_empty()) { |