diff options
Diffstat (limited to 'Libraries/LibJS/Runtime/ProxyConstructor.cpp')
-rw-r--r-- | Libraries/LibJS/Runtime/ProxyConstructor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibJS/Runtime/ProxyConstructor.cpp b/Libraries/LibJS/Runtime/ProxyConstructor.cpp index d1c35803ce..a107927db2 100644 --- a/Libraries/LibJS/Runtime/ProxyConstructor.cpp +++ b/Libraries/LibJS/Runtime/ProxyConstructor.cpp @@ -49,9 +49,9 @@ ProxyConstructor::~ProxyConstructor() { } -Value ProxyConstructor::call(Interpreter& interpreter) +Value ProxyConstructor::call() { - interpreter.vm().throw_exception<TypeError>(global_object(), ErrorType::ProxyCallWithNew); + vm().throw_exception<TypeError>(global_object(), ErrorType::ProxyCallWithNew); return {}; } |