Index: src/libplatform/tracing/tracing-controller.cc |
diff --git a/src/libplatform/tracing/tracing-controller.cc b/src/libplatform/tracing/tracing-controller.cc |
index c1a4057c0555b431230dc271662e4ee11b2b8938..732e8a2993095f59d8a35b8f34a300d7548ed705 100644 |
--- a/src/libplatform/tracing/tracing-controller.cc |
+++ b/src/libplatform/tracing/tracing-controller.cc |
@@ -144,7 +144,7 @@ void TracingController::UpdateCategoryGroupEnabledFlag(size_t category_index) { |
} |
void TracingController::UpdateCategoryGroupEnabledFlags() { |
- size_t category_index = base::NoBarrier_Load(&g_category_index); |
+ size_t category_index = base::Relaxed_Load(&g_category_index); |
for (size_t i = 0; i < category_index; i++) UpdateCategoryGroupEnabledFlag(i); |
} |