summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/FunctionEnvironment.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/FunctionEnvironment.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/FunctionEnvironment.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/FunctionEnvironment.h b/Userland/Libraries/LibJS/Runtime/FunctionEnvironment.h
index 2879851a3c..8501a75239 100644
--- a/Userland/Libraries/LibJS/Runtime/FunctionEnvironment.h
+++ b/Userland/Libraries/LibJS/Runtime/FunctionEnvironment.h
@@ -43,8 +43,8 @@ public:
ThrowCompletionOr<Value> get_super_base() const;
bool has_super_binding() const;
virtual bool has_this_binding() const override;
- virtual ThrowCompletionOr<Value> get_this_binding(GlobalObject&) const override;
- ThrowCompletionOr<Value> bind_this_value(GlobalObject&, Value);
+ virtual ThrowCompletionOr<Value> get_this_binding(VM&) const override;
+ ThrowCompletionOr<Value> bind_this_value(VM&, Value);
private:
virtual bool is_function_environment() const override { return true; }