mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 22:48:11 +00:00
LibWeb: Rename LayoutNode::is_root() => is_initial_containing_block()
Let's use spec language for this. :^)
This commit is contained in:
parent
e0809f78a9
commit
169a9150cb
6 changed files with 8 additions and 8 deletions
|
@ -119,7 +119,7 @@ GUI::Variant LayoutTreeModel::data(const GUI::ModelIndex& index, GUI::ModelRole
|
|||
{
|
||||
auto& node = *static_cast<Layout::Node*>(index.internal_data());
|
||||
if (role == GUI::ModelRole::Icon) {
|
||||
if (node.is_root())
|
||||
if (node.is_initial_containing_block())
|
||||
return m_document_icon;
|
||||
if (node.is_text())
|
||||
return m_text_icon;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue