mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 00:56:14 +00:00
LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr
This commit is contained in:
@@ -13,7 +13,7 @@ namespace Web::Encoding {
|
||||
|
||||
JS::NonnullGCPtr<TextEncoder> TextEncoder::construct_impl(JS::Realm& realm)
|
||||
{
|
||||
return *realm.heap().allocate<TextEncoder>(realm, realm);
|
||||
return realm.heap().allocate<TextEncoder>(realm, realm);
|
||||
}
|
||||
|
||||
TextEncoder::TextEncoder(JS::Realm& realm)
|
||||
|
||||
Reference in New Issue
Block a user