1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:17:36 +00:00

LibJS: Remove unnecessary GlobalObject& member on global environment

We already store the GlobalObject& in a base class, so no need to also
store it in the subclass. :^)
This commit is contained in:
Andreas Kling 2021-06-26 10:34:55 +02:00
parent 6d7d8f3db9
commit 0f9038b732
2 changed files with 3 additions and 6 deletions

View file

@ -50,8 +50,6 @@ private:
virtual bool is_global_environment_record() const override { return true; }
virtual void visit_edges(Visitor&) override;
GlobalObject& m_global_object;
ObjectEnvironmentRecord* m_object_record { nullptr };
DeclarativeEnvironmentRecord* m_declarative_record { nullptr };