mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:37:34 +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:
parent
6d7d8f3db9
commit
0f9038b732
2 changed files with 3 additions and 6 deletions
|
@ -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 };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue