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

Unified Diff: third_party/WebKit/Source/core/events/DragEvent.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: Fix typo Created 4 years, 10 months 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/DragEvent.cpp
diff --git a/third_party/WebKit/Source/core/events/DragEvent.cpp b/third_party/WebKit/Source/core/events/DragEvent.cpp
index 648032fe3457ae63fe88141b9602a6a3de83c933..9baa4b83fe048abfe77f87226b376d33557743f2 100644
--- a/third_party/WebKit/Source/core/events/DragEvent.cpp
+++ b/third_party/WebKit/Source/core/events/DragEvent.cpp
@@ -94,7 +94,7 @@ DragEvent& DragEventDispatchMediator::event() const
return toDragEvent(EventDispatchMediator::event());
}
-bool DragEventDispatchMediator::dispatchEvent(EventDispatcher& dispatcher) const
+DispatchEventResult DragEventDispatchMediator::dispatchEvent(EventDispatcher& dispatcher) const
{
event().eventPath().adjustForRelatedTarget(dispatcher.node(), event().relatedTarget());
return EventDispatchMediator::dispatchEvent(dispatcher);
« no previous file with comments | « third_party/WebKit/Source/core/events/DragEvent.h ('k') | third_party/WebKit/Source/core/events/EventDispatchMediator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698