diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/ArgumentsObject.cpp')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/ArgumentsObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/ArgumentsObject.cpp b/Userland/Libraries/LibJS/Runtime/ArgumentsObject.cpp index 84956b5fc0..924ba893ca 100644 --- a/Userland/Libraries/LibJS/Runtime/ArgumentsObject.cpp +++ b/Userland/Libraries/LibJS/Runtime/ArgumentsObject.cpp @@ -20,7 +20,7 @@ void ArgumentsObject::initialize(Realm& realm) { Base::initialize(realm); set_has_parameter_map(); - m_parameter_map = Object::create(realm.global_object(), nullptr); + m_parameter_map = Object::create(realm, nullptr); } void ArgumentsObject::visit_edges(Cell::Visitor& visitor) |