| Index: remoting/test/host_list_fetcher.cc
|
| diff --git a/remoting/test/host_list_fetcher.cc b/remoting/test/host_list_fetcher.cc
|
| index a652d14c21d5ded714963097eed0c2eb01a6caa7..3eb3ee0aafa8223dd0c5e1e25e82a5f5e19410e8 100644
|
| --- a/remoting/test/host_list_fetcher.cc
|
| +++ b/remoting/test/host_list_fetcher.cc
|
| @@ -87,10 +87,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) {
|
| HostInfo host;
|
| - if (host_info->GetAsDictionary(&host_dict) &&
|
| + if (host_info.GetAsDictionary(&host_dict) &&
|
| host.ParseHostInfo(*host_dict)) {
|
| hostlist->push_back(host);
|
| }
|
|
|