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

@ -38,14 +38,14 @@ LayoutListItem::~LayoutListItem()
{
}
void LayoutListItem::layout(LayoutMode line_break_policy)
void LayoutListItem::layout(LayoutMode layout_mode)
{
if (m_marker) {
remove_child(*m_marker);
m_marker = nullptr;
}
LayoutBlock::layout(line_break_policy);
LayoutBlock::layout(layout_mode);
if (!m_marker) {
m_marker = adopt(*new LayoutListItemMarker);