Index: chrome/test/chromedriver/performance_logger.cc |
diff --git a/chrome/test/chromedriver/performance_logger.cc b/chrome/test/chromedriver/performance_logger.cc |
index 4b264546756044ba1b50bb898ea4271e9b1fc64a..e67074fb645eac0fb74ffc86c67f7f4294f45cc4 100644 |
--- a/chrome/test/chromedriver/performance_logger.cc |
+++ b/chrome/test/chromedriver/performance_logger.cc |
@@ -181,7 +181,7 @@ Status PerformanceLogger::HandleTraceEvents( |
return Status(kUnknownError, |
"received DevTools trace data in unexpected format"); |
} |
- for (base::Value* const trace : *traces) { |
+ for (const auto& trace : *traces) { |
base::DictionaryValue* event_dict; |
if (!trace->GetAsDictionary(&event_dict)) |
return Status(kUnknownError, "trace event must be a dictionary"); |