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