mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:07:34 +00:00
LibJS: Port create_iterator_result_object() to NonnullGCPtr
This commit is contained in:
parent
aff1ec6014
commit
d4eaaf905c
4 changed files with 5 additions and 5 deletions
|
@ -73,7 +73,7 @@ JS::Object* FormDataIterator::next()
|
|||
if (m_iterator_kind == JS::Object::PropertyKind::Value)
|
||||
return create_iterator_result_object(vm, entry_value, false);
|
||||
|
||||
return create_iterator_result_object(vm, JS::Array::create_from(realm(), { JS::PrimitiveString::create(vm, entry.name), entry_value }), false);
|
||||
return create_iterator_result_object(vm, JS::Array::create_from(realm(), { JS::PrimitiveString::create(vm, entry.name), entry_value }), false).ptr();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue