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