diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/BlockContainer.h')
-rw-r--r-- | Userland/Libraries/LibWeb/Layout/BlockContainer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/BlockContainer.h b/Userland/Libraries/LibWeb/Layout/BlockContainer.h index 4f89a7659b..7ead413d5e 100644 --- a/Userland/Libraries/LibWeb/Layout/BlockContainer.h +++ b/Userland/Libraries/LibWeb/Layout/BlockContainer.h @@ -26,8 +26,8 @@ public: BlockContainer const* next_sibling() const { return verify_cast<BlockContainer>(Node::next_sibling()); } bool is_scrollable() const; - Gfx::FloatPoint const& scroll_offset() const { return m_scroll_offset; } - void set_scroll_offset(Gfx::FloatPoint const&); + Gfx::FloatPoint scroll_offset() const { return m_scroll_offset; } + void set_scroll_offset(Gfx::FloatPoint); Painting::PaintableWithLines const* paint_box() const; |