diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/Bindings/WindowObject.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/Bindings/WindowObject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/Bindings/WindowObject.cpp b/Userland/Libraries/LibWeb/Bindings/WindowObject.cpp index 81f1a36d3a..22f17862e6 100644 --- a/Userland/Libraries/LibWeb/Bindings/WindowObject.cpp +++ b/Userland/Libraries/LibWeb/Bindings/WindowObject.cpp @@ -56,9 +56,9 @@ WindowObject::WindowObject(DOM::Window& impl) impl.set_wrapper({}, *this); } -void WindowObject::initialize() +void WindowObject::initialize_global_object() { - GlobalObject::initialize(); + Base::initialize_global_object(); set_prototype(&ensure_web_prototype<EventTargetPrototype>("EventTarget")); |