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

Unified Diff: third_party/WebKit/Source/core/dom/FrameRequestCallbackCollection.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/dom/FrameRequestCallbackCollection.cpp
diff --git a/third_party/WebKit/Source/core/dom/FrameRequestCallbackCollection.cpp b/third_party/WebKit/Source/core/dom/FrameRequestCallbackCollection.cpp
index ee95a3eaf1ba8368a4dd6d48b71bd2249f03cb2d..213c3c6ca09440ade528ef2db934838df5511fde 100644
--- a/third_party/WebKit/Source/core/dom/FrameRequestCallbackCollection.cpp
+++ b/third_party/WebKit/Source/core/dom/FrameRequestCallbackCollection.cpp
@@ -5,7 +5,6 @@
#include "core/dom/FrameRequestCallbackCollection.h"
#include "core/dom/FrameRequestCallback.h"
-#include "core/frame/PerformanceMonitor.h"
#include "core/inspector/InspectorInstrumentation.h"
#include "core/inspector/InspectorTraceEvents.h"
@@ -72,8 +71,8 @@ void FrameRequestCallbackCollection::executeCallbacks(
InspectorAnimationFrameEvent::data(m_context, callback->m_id));
probe::AsyncTask asyncTask(m_context, callback,
"requestAnimationFrame.callback");
- PerformanceMonitor::HandlerCall handlerCall(
- m_context, "requestAnimationFrame", true);
+ probe::UserCallback probe(m_context, "requestAnimationFrame",
+ AtomicString(), true);
if (callback->m_useLegacyTimeBase)
callback->handleEvent(highResNowMsLegacy);
else

Powered by Google App Engine
This is Rietveld 408576698