mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
LibJS+LibWeb: Add missing visit calls in visit_edges implementations
This commit is contained in:
parent
a3344cab63
commit
39d8c8d2a9
8 changed files with 49 additions and 25 deletions
|
@ -74,9 +74,9 @@ void AccessibilityTreeNode::serialize_tree_as_json(JsonObjectSerializer<StringBu
|
|||
void AccessibilityTreeNode::visit_edges(Visitor& visitor)
|
||||
{
|
||||
Base::visit_edges(visitor);
|
||||
visitor.visit(value());
|
||||
for (auto child : children())
|
||||
child->visit_edges(visitor);
|
||||
visitor.visit(m_value);
|
||||
for (auto const& child : m_children)
|
||||
visitor.visit(child);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue