summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/LineBoxFragment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/LineBoxFragment.cpp')
-rw-r--r--Userland/Libraries/LibWeb/Layout/LineBoxFragment.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/LineBoxFragment.cpp b/Userland/Libraries/LibWeb/Layout/LineBoxFragment.cpp
index b039148155..856e5849a0 100644
--- a/Userland/Libraries/LibWeb/Layout/LineBoxFragment.cpp
+++ b/Userland/Libraries/LibWeb/Layout/LineBoxFragment.cpp
@@ -48,7 +48,7 @@ const Gfx::FloatRect LineBoxFragment::absolute_rect() const
{
Gfx::FloatRect rect { {}, size() };
rect.set_location(m_layout_node.containing_block()->absolute_position());
- rect.move_by(offset());
+ rect.translate_by(offset());
return rect;
}