diff options
author | Linus Groh <mail@linusgroh.de> | 2022-08-28 14:42:50 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-08-28 16:36:56 +0100 |
commit | cfa588585512540be5738b9b02511560a1126612 (patch) | |
tree | 059013bc0b3bb81c4d7bc792f326fc3402ffac51 /Userland/Libraries/LibJS/Runtime/GlobalObject.h | |
parent | 867ad039959e92b05b728f7a45d6793c34aa853f (diff) | |
download | serenity-cfa588585512540be5738b9b02511560a1126612.zip |
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.
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/GlobalObject.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/GlobalObject.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/GlobalObject.h b/Userland/Libraries/LibJS/Runtime/GlobalObject.h index e1704b9c70..0557038477 100644 --- a/Userland/Libraries/LibJS/Runtime/GlobalObject.h +++ b/Userland/Libraries/LibJS/Runtime/GlobalObject.h @@ -18,8 +18,7 @@ class GlobalObject : public Object { public: explicit GlobalObject(Realm&); - virtual void initialize_global_object(Realm&); - + virtual void initialize(Realm&) override; virtual ~GlobalObject() override; private: |