1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:47:44 +00:00

LibJS: NativeProperty get/put should take a GlobalObject&

This commit is contained in:
Andreas Kling 2020-06-20 17:35:25 +02:00
parent 03da70c7d0
commit e1f9da142e
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; }