diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/Window.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/Window.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Window.cpp b/Userland/Libraries/LibWeb/DOM/Window.cpp index d10620bc1e..648d083696 100644 --- a/Userland/Libraries/LibWeb/DOM/Window.cpp +++ b/Userland/Libraries/LibWeb/DOM/Window.cpp @@ -169,9 +169,9 @@ bool Window::dispatch_event(NonnullRefPtr<Event> event) return EventDispatcher::dispatch(*this, event, true); } -Bindings::EventTargetWrapper* Window::create_wrapper(JS::GlobalObject&) +JS::Object* Window::create_wrapper(JS::GlobalObject& global_object) { - ASSERT_NOT_REACHED(); + return &global_object; } } |