diff options
Diffstat (limited to 'Ladybird/ConsoleGlobalObject.cpp')
-rw-r--r-- | Ladybird/ConsoleGlobalObject.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Ladybird/ConsoleGlobalObject.cpp b/Ladybird/ConsoleGlobalObject.cpp index 3abb32d171..07ba5329f1 100644 --- a/Ladybird/ConsoleGlobalObject.cpp +++ b/Ladybird/ConsoleGlobalObject.cpp @@ -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) { } |