diff options
-rw-r--r-- | Libraries/LibHTML/Layout/LayoutBlock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibHTML/Layout/LayoutBlock.cpp b/Libraries/LibHTML/Layout/LayoutBlock.cpp index 31c1b95f7f..b9bdbca280 100644 --- a/Libraries/LibHTML/Layout/LayoutBlock.cpp +++ b/Libraries/LibHTML/Layout/LayoutBlock.cpp @@ -223,7 +223,7 @@ bool LayoutBlock::children_are_inline() const HitTestResult LayoutBlock::hit_test(const Point& position) const { if (!children_are_inline()) - return LayoutNode::hit_test(position); + return LayoutBox::hit_test(position); HitTestResult result; for (auto& line_box : m_line_boxes) { |