mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
LibWeb: Add StyleElementUtils::visit_edges()
Let's do this instead of making embedders visit every field of this helper class.
This commit is contained in:
committed by
Andreas Kling
parent
9075f64cac
commit
2064be708f
@@ -29,7 +29,7 @@ void HTMLStyleElement::initialize(JS::Realm& realm)
|
||||
void HTMLStyleElement::visit_edges(Cell::Visitor& visitor)
|
||||
{
|
||||
Base::visit_edges(visitor);
|
||||
visitor.visit(m_style_element_utils.sheet());
|
||||
m_style_element_utils.visit_edges(visitor);
|
||||
}
|
||||
|
||||
void HTMLStyleElement::children_changed()
|
||||
|
||||
Reference in New Issue
Block a user