summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-10-13 17:26:48 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-10-13 18:47:16 +0200
commitaefc7f9b22b2f7c7893e9756b99584792ac07325 (patch)
tree1ce3dfa7067c8cf8d07e7df40c0fa7831f46b742
parent44979ad7a50f336b5f13789a64f3679c7c879e23 (diff)
downloadserenity-aefc7f9b22b2f7c7893e9756b99584792ac07325.zip
LibHTML: Use LayoutBlock::add_line_box() in LayoutBreak
-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();
}