From 35040dd2c459f9baacd71b435a3f97ac090010a3 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 27 May 2020 19:20:49 +0200 Subject: LibWeb: LayoutMode line_break_policy => LayoutMode layout_mode --- Libraries/LibWeb/Layout/LayoutImage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Libraries/LibWeb/Layout/LayoutImage.cpp') diff --git a/Libraries/LibWeb/Layout/LayoutImage.cpp b/Libraries/LibWeb/Layout/LayoutImage.cpp index d12246e4c9..f386372d80 100644 --- a/Libraries/LibWeb/Layout/LayoutImage.cpp +++ b/Libraries/LibWeb/Layout/LayoutImage.cpp @@ -40,7 +40,7 @@ LayoutImage::~LayoutImage() { } -void LayoutImage::layout(LayoutMode line_break_policy) +void LayoutImage::layout(LayoutMode layout_mode) { if (node().preferred_width() && node().preferred_height()) { rect().set_width(node().preferred_width()); @@ -57,7 +57,7 @@ void LayoutImage::layout(LayoutMode line_break_policy) rect().set_height(16); } - LayoutReplaced::layout(line_break_policy); + LayoutReplaced::layout(layout_mode); } void LayoutImage::render(RenderingContext& context) -- cgit v1.2.3