diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/AccessibilityTreeNode.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/AccessibilityTreeNode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/AccessibilityTreeNode.cpp b/Userland/Libraries/LibWeb/DOM/AccessibilityTreeNode.cpp index 9cce5645f1..64edce7881 100644 --- a/Userland/Libraries/LibWeb/DOM/AccessibilityTreeNode.cpp +++ b/Userland/Libraries/LibWeb/DOM/AccessibilityTreeNode.cpp @@ -59,7 +59,7 @@ void AccessibilityTreeNode::serialize_tree_as_json(JsonObjectSerializer<StringBu if (value()->has_child_nodes()) { auto node_children = MUST(object.add_array("children"sv)); - for (auto* child : children()) { + for (auto& child : children()) { if (child->value()->is_uninteresting_whitespace_node()) continue; JsonObjectSerializer<StringBuilder> child_object = MUST(node_children.add_object()); |