mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr
This commit is contained in:
@@ -12,7 +12,7 @@ namespace Web::Fetch::Infrastructure {
|
||||
|
||||
JS::NonnullGCPtr<FetchAlgorithms> FetchAlgorithms::create(JS::VM& vm, Input input)
|
||||
{
|
||||
return { *vm.heap().allocate_without_realm<FetchAlgorithms>(move(input)) };
|
||||
return vm.heap().allocate_without_realm<FetchAlgorithms>(move(input));
|
||||
}
|
||||
|
||||
FetchAlgorithms::FetchAlgorithms(Input input)
|
||||
|
||||
Reference in New Issue
Block a user