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

Unified Diff: components/metrics/profiler/profiler_metrics_provider.cc

Issue 2231753002: components: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: One more call site Created 4 years, 4 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
Index: components/metrics/profiler/profiler_metrics_provider.cc
diff --git a/components/metrics/profiler/profiler_metrics_provider.cc b/components/metrics/profiler/profiler_metrics_provider.cc
index df64e293aee53f32b739a8c70055002b71f20842..2ab8c0314f6712ddfe9e48ce2c154ed5a56cab7f 100644
--- a/components/metrics/profiler/profiler_metrics_provider.cc
+++ b/components/metrics/profiler/profiler_metrics_provider.cc
@@ -107,7 +107,8 @@ void ProfilerMetricsProvider::RecordProfilerData(
if (IsCellularLogicEnabled())
return;
- const bool new_phase = !ContainsKey(profiler_events_cache_, profiling_phase);
+ const bool new_phase =
+ !base::ContainsKey(profiler_events_cache_, profiling_phase);
ProfilerEventProto* profiler_event = &profiler_events_cache_[profiling_phase];
if (new_phase) {

Powered by Google App Engine
This is Rietveld 408576698