mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 07:07:36 +00:00
LibWeb: Remove unused Layout::Node::did_insert_into_layout_tree()
This commit is contained in:
parent
77628289c6
commit
e36750d591
3 changed files with 0 additions and 9 deletions
|
@ -187,9 +187,6 @@ void TreeBuilder::create_layout_tree(DOM::Node& dom_node, TreeBuilder::Context&
|
|||
insert_node_into_inline_or_block_ancestor(layout_node);
|
||||
}
|
||||
|
||||
if (layout_node->has_style() && style)
|
||||
static_cast<Layout::NodeWithStyle&>(*layout_node).did_insert_into_layout_tree(*style);
|
||||
|
||||
auto* shadow_root = is<DOM::Element>(dom_node) ? verify_cast<DOM::Element>(dom_node).shadow_root() : nullptr;
|
||||
|
||||
if ((dom_node.has_children() || shadow_root) && layout_node->can_have_children()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue