summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/MapIterator.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/MapIterator.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/MapIterator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/MapIterator.h b/Userland/Libraries/LibJS/Runtime/MapIterator.h
index c7a57bab09..676f46c7d3 100644
--- a/Userland/Libraries/LibJS/Runtime/MapIterator.h
+++ b/Userland/Libraries/LibJS/Runtime/MapIterator.h
@@ -16,7 +16,7 @@ class MapIterator final : public Object {
JS_OBJECT(MapIterator, Object);
public:
- static MapIterator* create(GlobalObject&, Map& map, Object::PropertyKind iteration_kind);
+ static MapIterator* create(Realm&, Map& map, Object::PropertyKind iteration_kind);
explicit MapIterator(Map& map, Object::PropertyKind iteration_kind, Object& prototype);
virtual ~MapIterator() override = default;