diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/ProxyConstructor.cpp')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/ProxyConstructor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/ProxyConstructor.cpp b/Userland/Libraries/LibJS/Runtime/ProxyConstructor.cpp index 772ab46ed7..81926730ab 100644 --- a/Userland/Libraries/LibJS/Runtime/ProxyConstructor.cpp +++ b/Userland/Libraries/LibJS/Runtime/ProxyConstructor.cpp @@ -34,7 +34,7 @@ void ProxyConstructor::initialize(Realm& realm) auto& vm = this->vm(); NativeFunction::initialize(realm); u8 attr = Attribute::Writable | Attribute::Configurable; - define_native_function(vm.names.revocable, revocable, 2, attr); + define_native_function(realm, vm.names.revocable, revocable, 2, attr); define_direct_property(vm.names.length, Value(2), Attribute::Configurable); } |