summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Runtime/FunctionConstructor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibJS/Runtime/FunctionConstructor.cpp')
-rw-r--r--Libraries/LibJS/Runtime/FunctionConstructor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibJS/Runtime/FunctionConstructor.cpp b/Libraries/LibJS/Runtime/FunctionConstructor.cpp
index 861f3c13ea..4e3397e30c 100644
--- a/Libraries/LibJS/Runtime/FunctionConstructor.cpp
+++ b/Libraries/LibJS/Runtime/FunctionConstructor.cpp
@@ -51,9 +51,9 @@ FunctionConstructor::~FunctionConstructor()
{
}
-Value FunctionConstructor::call(Interpreter& interpreter)
+Value FunctionConstructor::call()
{
- return construct(interpreter, *this);
+ return construct(interpreter(), *this);
}
Value FunctionConstructor::construct(Interpreter& interpreter, Function&)