diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/WeakSet.cpp')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/WeakSet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/WeakSet.cpp b/Userland/Libraries/LibJS/Runtime/WeakSet.cpp index 89b1e9e0f2..ceaf10f6cf 100644 --- a/Userland/Libraries/LibJS/Runtime/WeakSet.cpp +++ b/Userland/Libraries/LibJS/Runtime/WeakSet.cpp @@ -10,7 +10,7 @@ namespace JS { NonnullGCPtr<WeakSet> WeakSet::create(Realm& realm) { - return *realm.heap().allocate<WeakSet>(realm, *realm.intrinsics().weak_set_prototype()); + return realm.heap().allocate<WeakSet>(realm, *realm.intrinsics().weak_set_prototype()); } WeakSet::WeakSet(Object& prototype) |