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

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

Issue 1980113002: Add UMA metric for tracking root level listeners for blocking touch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/EventTarget.cpp
diff --git a/third_party/WebKit/Source/core/events/EventTarget.cpp b/third_party/WebKit/Source/core/events/EventTarget.cpp
index 7781288b249f8885ed54b6ba726baf63644f95d4..3870b45cff69ba0f6bde41934081021fbd6326e1 100644
--- a/third_party/WebKit/Source/core/events/EventTarget.cpp
+++ b/third_party/WebKit/Source/core/events/EventTarget.cpp
@@ -493,6 +493,7 @@ DispatchEventResult EventTarget::fireEventListeners(Event* event)
event->setType(unprefixedTypeName);
}
+ event->doneDispatchedEventAtCurrentTarget();
Editor::countEvent(getExecutionContext(), event);
countLegacyEvents(legacyTypeName, listenersVector, legacyListenersVector);
return dispatchEventResult(*event);

Powered by Google App Engine
This is Rietveld 408576698