1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:18: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

@ -43,10 +43,10 @@ LayoutWidget::~LayoutWidget()
widget().remove_from_parent();
}
void LayoutWidget::layout(LayoutMode line_break_policy)
void LayoutWidget::layout(LayoutMode layout_mode)
{
rect().set_size(widget().width(), widget().height());
LayoutReplaced::layout(line_break_policy);
LayoutReplaced::layout(layout_mode);
widget().move_to(rect().x(), rect().y());
}