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

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

Issue 2732643003: DevTools: remove PerformanceMonitor::HandlerCall, migrate to the new scoped probes. (Closed)
Patch Set: Created 3 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/EventTarget.cpp
diff --git a/third_party/WebKit/Source/core/events/EventTarget.cpp b/third_party/WebKit/Source/core/events/EventTarget.cpp
index d9c66ba8db318832da42792cf6c5b8ba62646402..edce17336f69008ff24ddaaf9b021b0220cb1b54 100644
--- a/third_party/WebKit/Source/core/events/EventTarget.cpp
+++ b/third_party/WebKit/Source/core/events/EventTarget.cpp
@@ -704,7 +704,7 @@ bool EventTarget::fireEventListeners(Event* event,
bool passiveForced = registeredListener.passiveForcedForDocumentTarget();
probe::NativeBreakpoint nativeBreakpoint(context, this, event);
- PerformanceMonitor::HandlerCall handlerCall(context, event->type(), false);
+ probe::UserCallback probe(context, "", event->type(), false);
// 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