Index: base/debug/trace_event_impl.cc |
diff --git a/base/debug/trace_event_impl.cc b/base/debug/trace_event_impl.cc |
index 96ef2c7d2982dde4e5dca6d7dd6fd4602f44a645..df1e6d043e8c7fc47b3502f4651e3ee9d34e9f82 100644 |
--- a/base/debug/trace_event_impl.cc |
+++ b/base/debug/trace_event_impl.cc |
@@ -863,7 +863,7 @@ const unsigned char* TraceLog::GetCategoryGroupEnabledInternal( |
void TraceLog::GetKnownCategoryGroups( |
std::vector<std::string>* category_groups) { |
AutoLock lock(lock_); |
- for (int i = 0; i < g_category_index; i++) |
+ for (int i = g_num_builtin_categories; i < g_category_index; i++) |
category_groups->push_back(g_category_groups[i]); |
} |