summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Layout/LayoutDocument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/Layout/LayoutDocument.cpp')
-rw-r--r--Libraries/LibWeb/Layout/LayoutDocument.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutDocument.cpp b/Libraries/LibWeb/Layout/LayoutDocument.cpp
index d01a9787dd..7e6b77fe09 100644
--- a/Libraries/LibWeb/Layout/LayoutDocument.cpp
+++ b/Libraries/LibWeb/Layout/LayoutDocument.cpp
@@ -40,12 +40,12 @@ LayoutDocument::~LayoutDocument()
{
}
-void LayoutDocument::layout()
+void LayoutDocument::layout(LayoutMode line_break_policy)
{
ASSERT(document().frame());
rect().set_width(document().frame()->size().width());
- LayoutNode::layout();
+ LayoutNode::layout(line_break_policy);
ASSERT(!children_are_inline());