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

Unified Diff: third_party/WebKit/Source/core/frame/DOMTimer.cpp

Issue 2732643003: DevTools: remove PerformanceMonitor::HandlerCall, migrate to the new scoped probes. (Closed)
Patch Set: Introduce progress monitor 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/frame/DOMTimer.cpp
diff --git a/third_party/WebKit/Source/core/frame/DOMTimer.cpp b/third_party/WebKit/Source/core/frame/DOMTimer.cpp
index 427b26cee32bb11e26c17efb3de21d89632cf31a..9bb01f9b26686bde129f0a3bea1253756feed1b7 100644
--- a/third_party/WebKit/Source/core/frame/DOMTimer.cpp
+++ b/third_party/WebKit/Source/core/frame/DOMTimer.cpp
@@ -28,7 +28,6 @@
#include "core/dom/ExecutionContext.h"
#include "core/dom/TaskRunnerHelper.h"
-#include "core/frame/PerformanceMonitor.h"
#include "core/inspector/InspectorInstrumentation.h"
#include "core/inspector/InspectorTraceEvents.h"
#include "platform/instrumentation/tracing/TraceEvent.h"
@@ -143,8 +142,9 @@ void DOMTimer::fired() {
TRACE_EVENT1("devtools.timeline", "TimerFire", "data",
InspectorTimerFireEvent::data(context, m_timeoutID));
- PerformanceMonitor::HandlerCall handlerCall(
- context, repeatInterval() ? "setInterval" : "setTimeout", true);
+ probe::UserCallback probe(context,
+ repeatInterval() ? "setInterval" : "setTimeout",
+ AtomicString(), true);
probe::AsyncTask asyncTask(context, this, "timerFired");
// Simple case for non-one-shot timers.
« no previous file with comments | « third_party/WebKit/Source/core/events/EventTarget.cpp ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698