1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:58:11 +00:00

LibWeb: LayoutMode line_break_policy => LayoutMode layout_mode

This commit is contained in:
Andreas Kling 2020-05-27 19:20:49 +02:00
parent a8f0e4d56e
commit 35040dd2c4
11 changed files with 41 additions and 41 deletions

View file

@ -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)