diff options
Diffstat (limited to 'Libraries/LibWeb/HighResolutionTime')
-rw-r--r-- | Libraries/LibWeb/HighResolutionTime/Performance.cpp | 4 | ||||
-rw-r--r-- | Libraries/LibWeb/HighResolutionTime/Performance.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Libraries/LibWeb/HighResolutionTime/Performance.cpp b/Libraries/LibWeb/HighResolutionTime/Performance.cpp index 77a905e9fd..cdefa63eff 100644 --- a/Libraries/LibWeb/HighResolutionTime/Performance.cpp +++ b/Libraries/LibWeb/HighResolutionTime/Performance.cpp @@ -60,9 +60,9 @@ void Performance::unref_event_target() m_window.unref(); } -void Performance::dispatch_event(NonnullRefPtr<DOM::Event> event) +bool Performance::dispatch_event(NonnullRefPtr<DOM::Event> event) { - DOM::EventDispatcher::dispatch(*this, event); + return DOM::EventDispatcher::dispatch(*this, event); } Bindings::EventTargetWrapper* Performance::create_wrapper(JS::GlobalObject& global_object) diff --git a/Libraries/LibWeb/HighResolutionTime/Performance.h b/Libraries/LibWeb/HighResolutionTime/Performance.h index 6cb39f014e..d5a9effbf5 100644 --- a/Libraries/LibWeb/HighResolutionTime/Performance.h +++ b/Libraries/LibWeb/HighResolutionTime/Performance.h @@ -49,7 +49,7 @@ public: virtual void ref_event_target() override; virtual void unref_event_target() override; - virtual void dispatch_event(NonnullRefPtr<DOM::Event>) override; + virtual bool dispatch_event(NonnullRefPtr<DOM::Event>) override; virtual Bindings::EventTargetWrapper* create_wrapper(JS::GlobalObject&) override; private: |