diff options
author | Andreas Kling <kling@serenityos.org> | 2020-05-27 19:20:49 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-27 19:52:18 +0200 |
commit | 35040dd2c459f9baacd71b435a3f97ac090010a3 (patch) | |
tree | f04f2989e5f36993ee0fb4fa604ed9b2432d4e68 /Libraries/LibWeb/Layout/LayoutImage.cpp | |
parent | a8f0e4d56e70013803c09943ffb33e4d86c768fa (diff) | |
download | serenity-35040dd2c459f9baacd71b435a3f97ac090010a3.zip |
LibWeb: LayoutMode line_break_policy => LayoutMode layout_mode
Diffstat (limited to 'Libraries/LibWeb/Layout/LayoutImage.cpp')
-rw-r--r-- | Libraries/LibWeb/Layout/LayoutImage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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) |