Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1959)

Unified Diff: third_party/WebKit/Source/core/events/EventDispatchMediator.cpp

Issue 1479923002: Enumerate the return value of dispatchEvent so it is clear. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_passive_uma_add
Patch Set: Rebase Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/events/EventDispatchMediator.cpp
diff --git a/third_party/WebKit/Source/core/events/EventDispatchMediator.cpp b/third_party/WebKit/Source/core/events/EventDispatchMediator.cpp
index d7ebe9c7fbd1e104a97016b4d9cd07ec3000750f..0085e84d19b2bd74c80218c3c3053b9546b2092f 100644
--- a/third_party/WebKit/Source/core/events/EventDispatchMediator.cpp
+++ b/third_party/WebKit/Source/core/events/EventDispatchMediator.cpp
@@ -51,7 +51,7 @@ DEFINE_TRACE(EventDispatchMediator)
visitor->trace(m_event);
}
-bool EventDispatchMediator::dispatchEvent(EventDispatcher& dispatcher) const
+WebInputEventResult EventDispatchMediator::dispatchEvent(EventDispatcher& dispatcher) const
{
ASSERT(m_event.get() == &dispatcher.event());
return dispatcher.dispatch();

Powered by Google App Engine
This is Rietveld 408576698