mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:17:46 +00:00
LibJS: Turn initialize_global_object() into a regular initialize()
There's nothing special about global object initialization anymore, this can just work the same way as for any other object now.
This commit is contained in:
parent
867ad03995
commit
cfa5885855
17 changed files with 36 additions and 36 deletions
|
@ -24,13 +24,12 @@ class SheetGlobalObject final : public JS::GlobalObject {
|
|||
|
||||
public:
|
||||
SheetGlobalObject(JS::Realm&, Sheet&);
|
||||
|
||||
virtual void initialize(JS::Realm&) override;
|
||||
virtual ~SheetGlobalObject() override = default;
|
||||
|
||||
virtual JS::ThrowCompletionOr<bool> internal_has_property(JS::PropertyKey const& name) const override;
|
||||
virtual JS::ThrowCompletionOr<JS::Value> internal_get(JS::PropertyKey const&, JS::Value receiver) const override;
|
||||
virtual JS::ThrowCompletionOr<bool> internal_set(JS::PropertyKey const&, JS::Value value, JS::Value receiver) override;
|
||||
virtual void initialize_global_object(JS::Realm&) override;
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(get_real_cell_contents);
|
||||
JS_DECLARE_NATIVE_FUNCTION(set_real_cell_contents);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue