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

Unified Diff: third_party/WebKit/Source/core/dom/FrameRequestCallbackCollection.cpp

Issue 2727633006: DevTools: Rename InspectorInstrumentation:: namespace into probe:: (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/dom/FrameRequestCallbackCollection.cpp
diff --git a/third_party/WebKit/Source/core/dom/FrameRequestCallbackCollection.cpp b/third_party/WebKit/Source/core/dom/FrameRequestCallbackCollection.cpp
index 550fbb1dc528808c1c148d6170fb9781255517e1..ee95a3eaf1ba8368a4dd6d48b71bd2249f03cb2d 100644
--- a/third_party/WebKit/Source/core/dom/FrameRequestCallbackCollection.cpp
+++ b/third_party/WebKit/Source/core/dom/FrameRequestCallbackCollection.cpp
@@ -26,16 +26,16 @@ FrameRequestCallbackCollection::registerCallback(
TRACE_EVENT_INSTANT1("devtools.timeline", "RequestAnimationFrame",
TRACE_EVENT_SCOPE_THREAD, "data",
InspectorAnimationFrameEvent::data(m_context, id));
- InspectorInstrumentation::asyncTaskScheduledBreakable(
- m_context, "requestAnimationFrame", callback);
+ probe::asyncTaskScheduledBreakable(m_context, "requestAnimationFrame",
+ callback);
return id;
}
void FrameRequestCallbackCollection::cancelCallback(CallbackId id) {
for (size_t i = 0; i < m_callbacks.size(); ++i) {
if (m_callbacks[i]->m_id == id) {
- InspectorInstrumentation::asyncTaskCanceledBreakable(
- m_context, "cancelAnimationFrame", m_callbacks[i]);
+ probe::asyncTaskCanceledBreakable(m_context, "cancelAnimationFrame",
+ m_callbacks[i]);
m_callbacks.remove(i);
TRACE_EVENT_INSTANT1("devtools.timeline", "CancelAnimationFrame",
TRACE_EVENT_SCOPE_THREAD, "data",
@@ -45,8 +45,8 @@ void FrameRequestCallbackCollection::cancelCallback(CallbackId id) {
}
for (const auto& callback : m_callbacksToInvoke) {
if (callback->m_id == id) {
- InspectorInstrumentation::asyncTaskCanceledBreakable(
- m_context, "cancelAnimationFrame", callback);
+ probe::asyncTaskCanceledBreakable(m_context, "cancelAnimationFrame",
+ callback);
TRACE_EVENT_INSTANT1("devtools.timeline", "CancelAnimationFrame",
TRACE_EVENT_SCOPE_THREAD, "data",
InspectorAnimationFrameEvent::data(m_context, id));
@@ -70,8 +70,8 @@ void FrameRequestCallbackCollection::executeCallbacks(
TRACE_EVENT1(
"devtools.timeline", "FireAnimationFrame", "data",
InspectorAnimationFrameEvent::data(m_context, callback->m_id));
- InspectorInstrumentation::AsyncTask asyncTask(
- m_context, callback, "requestAnimationFrame.callback");
+ probe::AsyncTask asyncTask(m_context, callback,
+ "requestAnimationFrame.callback");
PerformanceMonitor::HandlerCall handlerCall(
m_context, "requestAnimationFrame", true);
if (callback->m_useLegacyTimeBase)
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | third_party/WebKit/Source/core/dom/MutationObserver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698