summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Layout/LayoutTableCell.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-11-22 14:46:36 +0100
committerAndreas Kling <kling@serenityos.org>2020-11-22 14:46:36 +0100
commitf358f2255fec7228b7ddf510936a2b7a150e509e (patch)
tree3880618b67facc7b935df3434d423151f3e5b0e6 /Libraries/LibWeb/Layout/LayoutTableCell.cpp
parent85859544fa306db03c791df8e56897f3c3089420 (diff)
downloadserenity-f358f2255fec7228b7ddf510936a2b7a150e509e.zip
LibWeb: Rename LayoutNode::node() => LayoutNode::dom_node()
Diffstat (limited to 'Libraries/LibWeb/Layout/LayoutTableCell.cpp')
-rw-r--r--Libraries/LibWeb/Layout/LayoutTableCell.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutTableCell.cpp b/Libraries/LibWeb/Layout/LayoutTableCell.cpp
index d082d86d84..27c9a2780d 100644
--- a/Libraries/LibWeb/Layout/LayoutTableCell.cpp
+++ b/Libraries/LibWeb/Layout/LayoutTableCell.cpp
@@ -41,8 +41,8 @@ LayoutTableCell::~LayoutTableCell()
size_t LayoutTableCell::colspan() const
{
- ASSERT(node());
- return downcast<DOM::Element>(*node()).attribute(HTML::AttributeNames::colspan).to_uint().value_or(1);
+ ASSERT(dom_node());
+ return downcast<DOM::Element>(*dom_node()).attribute(HTML::AttributeNames::colspan).to_uint().value_or(1);
}
float LayoutTableCell::width_of_logical_containing_block() const