mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 17:28:30 +00:00
LibJS+LibWeb: Use new Cell::Visitor helpers to avoid manual iteration
This commit is contained in:
@@ -59,8 +59,7 @@ void HTMLFormElement::visit_edges(Cell::Visitor& visitor)
|
||||
{
|
||||
Base::visit_edges(visitor);
|
||||
visitor.visit(m_elements);
|
||||
for (auto& element : m_associated_elements)
|
||||
visitor.visit(element);
|
||||
visitor.visit(m_associated_elements);
|
||||
visitor.visit(m_planned_navigation);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user