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:
parent
03da70c7d0
commit
e1f9da142e
3 changed files with 8 additions and 8 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue