summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Bindings/WindowConstructor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/Bindings/WindowConstructor.cpp')
-rw-r--r--Userland/Libraries/LibWeb/Bindings/WindowConstructor.cpp4
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())
{
}