1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +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,11 +40,11 @@ LayoutCanvas::~LayoutCanvas()
{
}
void LayoutCanvas::layout(LayoutMode line_break_policy)
void LayoutCanvas::layout(LayoutMode layout_mode)
{
rect().set_width(node().requested_width());
rect().set_height(node().requested_height());
LayoutReplaced::layout(line_break_policy);
LayoutReplaced::layout(layout_mode);
}
void LayoutCanvas::render(RenderingContext& context)