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:
parent
a8f0e4d56e
commit
35040dd2c4
11 changed files with 41 additions and 41 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue