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

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

Issue 2514643002: DevTools: support all handlers that end up with function call in perfmonitor. (Closed)
Patch Set: Created 4 years, 1 month 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 cf2b87da879835989831f7119d8f6b10982154eb..b4444d181d909257cba1a64a15052dfcb606c4c2 100644
--- a/third_party/WebKit/Source/core/events/EventTarget.cpp
+++ b/third_party/WebKit/Source/core/events/EventTarget.cpp
@@ -684,7 +684,8 @@ bool EventTarget::fireEventListeners(Event* event,
InspectorInstrumentation::NativeBreakpoint nativeBreakpoint(context, this,
event);
- PerformanceMonitor::HandlerCall handlerCall(context, listener);
+ PerformanceMonitor::HandlerCall handlerCall(
+ context, event->type().ascii().data(), false);
caseq 2016/11/18 00:33:48 So you're passing a string from temporary object t
// To match Mozilla, the AT_TARGET phase fires both capturing and bubbling
// event listeners, even though that violates some versions of the DOM spec.

Powered by Google App Engine
This is Rietveld 408576698