diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/BlockContainer.h')
-rw-r--r-- | Userland/Libraries/LibWeb/Layout/BlockContainer.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/BlockContainer.h b/Userland/Libraries/LibWeb/Layout/BlockContainer.h index 8c68f14082..d05874b81e 100644 --- a/Userland/Libraries/LibWeb/Layout/BlockContainer.h +++ b/Userland/Libraries/LibWeb/Layout/BlockContainer.h @@ -36,11 +36,9 @@ public: const Gfx::FloatPoint& scroll_offset() const { return m_scroll_offset; } void set_scroll_offset(const Gfx::FloatPoint&); - Vector<LineBox>& line_boxes() { return m_line_boxes; } const Vector<LineBox>& line_boxes() const { return m_line_boxes; } - LineBox& ensure_last_line_box(); - LineBox& add_line_box(); + void set_line_boxes(Vector<LineBox>&& line_boxes) { m_line_boxes = move(line_boxes); } protected: Vector<LineBox> m_line_boxes; |