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

Unified Diff: cc/animation/animation.cc

Issue 12252058: Add a |scope| argument to TRACE_EVENT_INSTANT* and require its presence. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix builds 2 Created 7 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
« no previous file with comments | « base/test/trace_event_analyzer_unittest.cc ('k') | cc/base/worker_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/animation.cc
diff --git a/cc/animation/animation.cc b/cc/animation/animation.cc
index e0e7e7ceaf38b9232c30d148ef2f6a019ea60176..67086208e3870b47294e076fbd7d317faae83e10 100644
--- a/cc/animation/animation.cc
+++ b/cc/animation/animation.cc
@@ -124,6 +124,7 @@ void Animation::SetRunState(RunState run_state, double monotonic_time) {
TRACE_EVENT_INSTANT2("cc",
"LayerAnimationController::SetRunState",
+ TRACE_EVENT_SCOPE_THREAD,
"Name",
TRACE_STR_COPY(name_buffer),
"State",
« no previous file with comments | « base/test/trace_event_analyzer_unittest.cc ('k') | cc/base/worker_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698