Index: remoting/test/host_info.cc |
diff --git a/remoting/test/host_info.cc b/remoting/test/host_info.cc |
index c8069739ccbc1f66e98221706d0371c2eed3f950..5f5321f65ecf56e9d303e03b3d870eaab6c120b7 100644 |
--- a/remoting/test/host_info.cc |
+++ b/remoting/test/host_info.cc |
@@ -20,7 +20,7 @@ bool HostInfo::ParseHostInfo(const base::DictionaryValue& host_info) { |
// Add TokenUrlPatterns to HostInfo. |
if (host_info.GetList("tokenUrlPatterns", &list_value)) { |
if (!list_value->empty()) { |
- for (base::Value* item : *list_value) { |
+ for (const auto& item : *list_value) { |
std::string token_url_pattern; |
if (!item->GetAsString(&token_url_pattern)) { |
return false; |