Index: remoting/test/host_list_fetcher.cc |
diff --git a/remoting/test/host_list_fetcher.cc b/remoting/test/host_list_fetcher.cc |
index 3b1c6b4fa7124e7e3299affa334be53fc7a68d12..5cb46d565f37feef3e499f36a990b528dece06c1 100644 |
--- a/remoting/test/host_list_fetcher.cc |
+++ b/remoting/test/host_list_fetcher.cc |
@@ -88,7 +88,7 @@ bool HostListFetcher::ProcessResponse( |
// Any host_info with malformed data will not be added to the hostlist. |
base::DictionaryValue* host_dict; |
- for (base::Value* host_info : *hosts) { |
+ for (const auto& host_info : *hosts) { |
HostInfo host; |
if (host_info->GetAsDictionary(&host_dict) && |
host.ParseHostInfo(*host_dict)) { |