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

Unified Diff: third_party/WebKit/Source/core/animation/Animation.cpp

Issue 2227293002: Add RAIL tracing category to Chrome tracing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing PaintTiming markers Created 4 years, 4 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
« no previous file with comments | « media/blink/video_frame_compositor.cc ('k') | third_party/WebKit/Source/core/dom/DocumentTiming.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/animation/Animation.cpp
diff --git a/third_party/WebKit/Source/core/animation/Animation.cpp b/third_party/WebKit/Source/core/animation/Animation.cpp
index 6fe5a0f1997df8e6a5b63fdd546263ac260e07dc..02b960277d60ad2c86e590239ea34a3032d1c769 100644
--- a/third_party/WebKit/Source/core/animation/Animation.cpp
+++ b/third_party/WebKit/Source/core/animation/Animation.cpp
@@ -991,11 +991,11 @@ Animation::PlayStateUpdateScope::~PlayStateUpdateScope()
bool wasActive = oldPlayState == Pending || oldPlayState == Running;
bool isActive = newPlayState == Pending || newPlayState == Running;
if (!wasActive && isActive)
- TRACE_EVENT_NESTABLE_ASYNC_BEGIN1("blink.animations,devtools.timeline,benchmark", "Animation", m_animation, "data", InspectorAnimationEvent::data(*m_animation));
+ TRACE_EVENT_NESTABLE_ASYNC_BEGIN1("blink.animations,devtools.timeline,benchmark,rail", "Animation", m_animation, "data", InspectorAnimationEvent::data(*m_animation));
else if (wasActive && !isActive)
- TRACE_EVENT_NESTABLE_ASYNC_END1("blink.animations,devtools.timeline,benchmark", "Animation", m_animation, "endData", InspectorAnimationStateEvent::data(*m_animation));
+ TRACE_EVENT_NESTABLE_ASYNC_END1("blink.animations,devtools.timeline,benchmark,rail", "Animation", m_animation, "endData", InspectorAnimationStateEvent::data(*m_animation));
else
- TRACE_EVENT_NESTABLE_ASYNC_INSTANT1("blink.animations,devtools.timeline,benchmark", "Animation", m_animation, "data", InspectorAnimationStateEvent::data(*m_animation));
+ TRACE_EVENT_NESTABLE_ASYNC_INSTANT1("blink.animations,devtools.timeline,benchmark,rail", "Animation", m_animation, "data", InspectorAnimationStateEvent::data(*m_animation));
}
// Ordering is important, the ready promise should resolve/reject before
« no previous file with comments | « media/blink/video_frame_compositor.cc ('k') | third_party/WebKit/Source/core/dom/DocumentTiming.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698