diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/Bindings/WindowConstructor.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/Bindings/WindowConstructor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/Bindings/WindowConstructor.cpp b/Userland/Libraries/LibWeb/Bindings/WindowConstructor.cpp index 87ad5904f1..be0d7c5cdb 100644 --- a/Userland/Libraries/LibWeb/Bindings/WindowConstructor.cpp +++ b/Userland/Libraries/LibWeb/Bindings/WindowConstructor.cpp @@ -11,8 +11,8 @@ namespace Web::Bindings { -WindowConstructor::WindowConstructor(JS::GlobalObject& global_object) - : NativeFunction(*global_object.function_prototype()) +WindowConstructor::WindowConstructor(JS::Realm& realm) + : NativeFunction(*realm.global_object().function_prototype()) { } |