diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/EventTarget.h')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/EventTarget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/EventTarget.h b/Userland/Libraries/LibWeb/DOM/EventTarget.h index 3882cbc3bb..854776eb0f 100644 --- a/Userland/Libraries/LibWeb/DOM/EventTarget.h +++ b/Userland/Libraries/LibWeb/DOM/EventTarget.h @@ -39,7 +39,7 @@ public: virtual bool dispatch_event(NonnullRefPtr<Event>); ExceptionOr<bool> dispatch_event_binding(NonnullRefPtr<Event>); - virtual JS::Object* create_wrapper(JS::GlobalObject&) = 0; + virtual JS::Object* create_wrapper(JS::Realm&) = 0; virtual EventTarget* get_parent(Event const&) { return nullptr; } |