mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 11:37:16 +02:00
LibJS+LibWeb: Add missing visit calls in visit_edges implementations
This commit is contained in:
committed by
Andreas Kling
parent
a3344cab63
commit
39d8c8d2a9
Notes:
sideshowbarker
2024-07-17 08:59:18 +09:00
Author: https://github.com/mattco98 Commit: https://github.com/SerenityOS/serenity/commit/39d8c8d2a9 Pull-request: https://github.com/SerenityOS/serenity/pull/17979 Reviewed-by: https://github.com/awesomekling
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user