mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:07:47 +00:00
LibJS+LibWeb: Wrap raw JS::Cell*/& fields in GCPtr/NonnullGCPtr
This commit is contained in:
parent
1df3652e27
commit
7c0c1c8f49
214 changed files with 825 additions and 827 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue