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

Unified Diff: base/debug/trace_event_memory.cc

Issue 133313005: Revert of Make flow event traces disabled-by-default, and rename "ipc" and "task" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « no previous file | base/debug/trace_event_memory_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/trace_event_memory.cc
diff --git a/base/debug/trace_event_memory.cc b/base/debug/trace_event_memory.cc
index 3c468278a15bcce12787067053adc1482bd8e92c..4b2b050df8e18116d1021b821c01af9b3d0c905b 100644
--- a/base/debug/trace_event_memory.cc
+++ b/base/debug/trace_event_memory.cc
@@ -409,9 +409,9 @@
// TODO(jamescook): Report the trace category and name separately to the
// trace viewer and allow it to decide what decorations to apply. For now
- // just hard-code a decoration for posted tasks (toplevel).
+ // just hard-code a decoration for posted tasks.
std::string trace_string(trace_name);
- if (!strcmp(trace_category, "toplevel"))
+ if (!strcmp(trace_category, "task"))
trace_string.append("->PostTask");
// Some trace name strings have double quotes, convert them to single.
« no previous file with comments | « no previous file | base/debug/trace_event_memory_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698