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

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

Issue 2733093003: DevTools: instrument user callbacks based on generic probes, remove NativeBreakpoint. (Closed)
Patch Set: test fixed Created 3 years, 9 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 edce17336f69008ff24ddaaf9b021b0220cb1b54..275cae0143ea0255b9bc26249d7def89c8fe912a 100644
--- a/third_party/WebKit/Source/core/events/EventTarget.cpp
+++ b/third_party/WebKit/Source/core/events/EventTarget.cpp
@@ -703,8 +703,7 @@ bool EventTarget::fireEventListeners(Event* event,
event->setHandlingPassive(eventPassiveMode(registeredListener));
bool passiveForced = registeredListener.passiveForcedForDocumentTarget();
- probe::NativeBreakpoint nativeBreakpoint(context, this, event);
- probe::UserCallback probe(context, "", event->type(), false);
+ probe::UserCallback probe(context, nullptr, event->type(), false, this);
// 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