mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-01 11:57:19 +02:00
LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr
This commit is contained in:
@@ -17,7 +17,7 @@ JS::NonnullGCPtr<IntersectionObserver> IntersectionObserver::construct_impl(JS::
|
||||
(void)callback;
|
||||
(void)options;
|
||||
|
||||
return *realm.heap().allocate<IntersectionObserver>(realm, realm);
|
||||
return realm.heap().allocate<IntersectionObserver>(realm, realm);
|
||||
}
|
||||
|
||||
IntersectionObserver::IntersectionObserver(JS::Realm& realm)
|
||||
|
||||
Reference in New Issue
Block a user