summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Runtime/NativeProperty.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibJS/Runtime/NativeProperty.h')
-rw-r--r--Libraries/LibJS/Runtime/NativeProperty.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibJS/Runtime/NativeProperty.h b/Libraries/LibJS/Runtime/NativeProperty.h
index 05e0102bc7..1cdcbc4f2d 100644
--- a/Libraries/LibJS/Runtime/NativeProperty.h
+++ b/Libraries/LibJS/Runtime/NativeProperty.h
@@ -35,7 +35,7 @@ class NativeProperty final : public Object {
JS_OBJECT(NativeProperty, Object);
public:
- NativeProperty(AK::Function<Value(Interpreter&, GlobalObject&)> getter, AK::Function<void(Interpreter&, GlobalObject&, Value)> setter);
+ NativeProperty(GlobalObject&, AK::Function<Value(Interpreter&, GlobalObject&)> getter, AK::Function<void(Interpreter&, GlobalObject&, Value)> setter);
virtual ~NativeProperty() override;
Value get(Interpreter&, GlobalObject&) const;