summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Layout/LayoutImage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/Layout/LayoutImage.cpp')
-rw-r--r--Libraries/LibWeb/Layout/LayoutImage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutImage.cpp b/Libraries/LibWeb/Layout/LayoutImage.cpp
index 20a9538eff..d12246e4c9 100644
--- a/Libraries/LibWeb/Layout/LayoutImage.cpp
+++ b/Libraries/LibWeb/Layout/LayoutImage.cpp
@@ -40,7 +40,7 @@ LayoutImage::~LayoutImage()
{
}
-void LayoutImage::layout()
+void LayoutImage::layout(LayoutMode line_break_policy)
{
if (node().preferred_width() && node().preferred_height()) {
rect().set_width(node().preferred_width());
@@ -57,7 +57,7 @@ void LayoutImage::layout()
rect().set_height(16);
}
- LayoutReplaced::layout();
+ LayoutReplaced::layout(line_break_policy);
}
void LayoutImage::render(RenderingContext& context)