mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:47:44 +00:00
LibJS: Create Console using a Realm instead of a VM
This commit is contained in:
parent
7a2da4cabf
commit
69dd158f91
3 changed files with 22 additions and 20 deletions
|
@ -14,7 +14,7 @@ namespace JS {
|
|||
|
||||
ConsoleObject::ConsoleObject(Realm& realm)
|
||||
: Object(*realm.intrinsics().object_prototype())
|
||||
, m_console(make<Console>(realm.vm()))
|
||||
, m_console(make<Console>(realm))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue