Index: base/trace_event/trace_log.cc |
diff --git a/base/trace_event/trace_log.cc b/base/trace_event/trace_log.cc |
index af2124efd007c1f17b7279190ec7482244ebc869..f6c9115646314f6ca7e3e048fa1fda56148d30cd 100644 |
--- a/base/trace_event/trace_log.cc |
+++ b/base/trace_event/trace_log.cc |
@@ -1718,9 +1718,9 @@ void TraceLog::UpdateETWCategoryGroupEnabledFlags() { |
DCHECK(category_group); |
if (base::trace_event::TraceEventETWExport::IsCategoryGroupEnabled( |
category_group)) { |
- g_category_group_enabled[category_index] |= ENABLED_FOR_ETW_EXPORT; |
+ g_category_group_enabled[i] |= ENABLED_FOR_ETW_EXPORT; |
} else { |
- g_category_group_enabled[category_index] &= ~ENABLED_FOR_ETW_EXPORT; |
+ g_category_group_enabled[i] &= ~ENABLED_FOR_ETW_EXPORT; |
} |
} |
} |