diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/IntersectionObserver/IntersectionObserver.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/IntersectionObserver/IntersectionObserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/IntersectionObserver/IntersectionObserver.cpp b/Userland/Libraries/LibWeb/IntersectionObserver/IntersectionObserver.cpp index 19b58562b2..ec4522deeb 100644 --- a/Userland/Libraries/LibWeb/IntersectionObserver/IntersectionObserver.cpp +++ b/Userland/Libraries/LibWeb/IntersectionObserver/IntersectionObserver.cpp @@ -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) |