LibJS: Convert Array::create{,_from}() to NonnullGCPtr

This commit is contained in:
Linus Groh
2022-12-13 20:49:49 +00:00
parent 0c50751c13
commit 91b0123eaf
Notes: sideshowbarker 2024-07-17 08:42:05 +09:00
25 changed files with 60 additions and 60 deletions

View File

@@ -1429,7 +1429,7 @@ static void generate_wrap_statement(SourceGenerator& generator, DeprecatedString
auto& sequence_generic_type = verify_cast<IDL::ParameterizedType>(type);
scoped_generator.append(R"~~~(
auto* new_array@recursion_depth@ = MUST(JS::Array::create(realm, 0));
auto new_array@recursion_depth@ = MUST(JS::Array::create(realm, 0));
)~~~");
if (!type.is_nullable()) {