1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:57:35 +00:00

Ladybird: Update for LibJS global object construction changes

This commit is contained in:
Andreas Kling 2022-08-05 11:23:46 +02:00 committed by Andrew Kaster
parent b1cc1bd47b
commit 90c0ae5e63
3 changed files with 6 additions and 4 deletions

View file

@ -15,8 +15,9 @@
namespace Ladybird {
ConsoleGlobalObject::ConsoleGlobalObject(Web::Bindings::WindowObject& parent_object)
: m_window_object(&parent_object)
ConsoleGlobalObject::ConsoleGlobalObject(JS::Realm& realm, Web::Bindings::WindowObject& parent_object)
: JS::GlobalObject(realm)
, m_window_object(&parent_object)
{
}