summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Layout/ReplacedBox.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-01 18:55:47 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-01 18:56:49 +0100
commit07dd73c3510f6bd9f569e101f60e5bf6a1614108 (patch)
tree0fc36cf0b67dc968ccd22e1311a4dde315ac791b /Libraries/LibWeb/Layout/ReplacedBox.h
parent3bb0cb2202a487303ece7444b4805fd0d30c97ed (diff)
downloadserenity-07dd73c3510f6bd9f569e101f60e5bf6a1614108.zip
LibWeb: Remove hand-rolled is_foo() helpers in Layout::Node classes
Diffstat (limited to 'Libraries/LibWeb/Layout/ReplacedBox.h')
-rw-r--r--Libraries/LibWeb/Layout/ReplacedBox.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Libraries/LibWeb/Layout/ReplacedBox.h b/Libraries/LibWeb/Layout/ReplacedBox.h
index e7f1ece198..f1da91a197 100644
--- a/Libraries/LibWeb/Layout/ReplacedBox.h
+++ b/Libraries/LibWeb/Layout/ReplacedBox.h
@@ -39,8 +39,6 @@ public:
const DOM::Element& dom_node() const { return downcast<DOM::Element>(*Node::dom_node()); }
DOM::Element& dom_node() { return downcast<DOM::Element>(*Node::dom_node()); }
- virtual bool is_replaced() const final { return true; }
-
bool has_intrinsic_width() const { return m_has_intrinsic_width; }
bool has_intrinsic_height() const { return m_has_intrinsic_height; }
bool has_intrinsic_ratio() const { return m_has_intrinsic_ratio; }