LibJS: NativeProperty get/put should take a GlobalObject&

This commit is contained in:
Andreas Kling 2020-06-20 17:35:25 +02:00
commit e1f9da142e
Notes: sideshowbarker 2024-07-19 05:31:34 +09:00
3 changed files with 8 additions and 8 deletions

View file

@ -36,8 +36,8 @@ public:
NativeProperty(AK::Function<Value(Interpreter&, GlobalObject&)> getter, AK::Function<void(Interpreter&, GlobalObject&, Value)> setter);
virtual ~NativeProperty() override;
Value get(Interpreter&) const;
void set(Interpreter&, Value);
Value get(Interpreter&, GlobalObject&) const;
void set(Interpreter&, GlobalObject&, Value);
private:
virtual bool is_native_property() const override { return true; }