summaryrefslogtreecommitdiff
path: root/Libraries/LibHTML/Layout/LayoutBreak.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibHTML/Layout/LayoutBreak.cpp')
-rw-r--r--Libraries/LibHTML/Layout/LayoutBreak.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibHTML/Layout/LayoutBreak.cpp b/Libraries/LibHTML/Layout/LayoutBreak.cpp
index 24c2e581d8..c971d96a75 100644
--- a/Libraries/LibHTML/Layout/LayoutBreak.cpp
+++ b/Libraries/LibHTML/Layout/LayoutBreak.cpp
@@ -13,5 +13,5 @@ LayoutBreak::~LayoutBreak()
void LayoutBreak::split_into_lines(LayoutBlock& block)
{
- block.line_boxes().append(LineBox());
+ block.add_line_box();
}