mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:54:58 +00:00
LibJS: Remove Console's reliance on GlobalObject
This was not being used for anything meaningful, just store a reference to the VM directly.
This commit is contained in:
parent
9d14ed6c14
commit
d35f53c344
3 changed files with 21 additions and 36 deletions
|
@ -85,7 +85,7 @@ namespace JS {
|
|||
|
||||
GlobalObject::GlobalObject(Realm& realm)
|
||||
: Object(GlobalObjectTag::Tag, realm)
|
||||
, m_console(make<Console>(*this))
|
||||
, m_console(make<Console>(realm.vm()))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue