Index: remoting/client/ios/facade/host_list_fetcher.cc |
diff --git a/remoting/client/ios/facade/host_list_fetcher.cc b/remoting/client/ios/facade/host_list_fetcher.cc |
index e0016eb8cd39e96efc6cc24df808530481d99668..6c1bb008acd2141598cb0b0b9dd6f49608e6292f 100644 |
--- a/remoting/client/ios/facade/host_list_fetcher.cc |
+++ b/remoting/client/ios/facade/host_list_fetcher.cc |
@@ -85,10 +85,10 @@ bool HostListFetcher::ProcessResponse( |
} |
// Any host_info with malformed data will not be added to the hostlist. |
- base::DictionaryValue* host_dict; |
+ const base::DictionaryValue* host_dict; |
for (const auto& host_info : *hosts) { |
remoting::HostInfo host; |
- if (host_info->GetAsDictionary(&host_dict) && |
+ if (host_info.GetAsDictionary(&host_dict) && |
host.ParseHostInfo(*host_dict)) { |
hostlist->push_back(host); |
} |