Index: net/http/http_server_properties_manager.cc |
diff --git a/net/http/http_server_properties_manager.cc b/net/http/http_server_properties_manager.cc |
index f927874e489ab48d7fde1305362de816c20491b0..3d30297dd3130a7007ff8237a3e1f2b15d1490c4 100644 |
--- a/net/http/http_server_properties_manager.cc |
+++ b/net/http/http_server_properties_manager.cc |
@@ -493,7 +493,7 @@ |
} else { |
for (base::ListValue::const_iterator it = servers_list->begin(); |
it != servers_list->end(); ++it) { |
- if (!it->GetAsDictionary(&servers_dict)) { |
+ if (!(*it)->GetAsDictionary(&servers_dict)) { |
DVLOG(1) << "Malformed http_server_properties for servers dictionary."; |
detected_corrupted_prefs = true; |
continue; |
@@ -651,7 +651,7 @@ |
AlternativeServiceInfoVector alternative_service_info_vector; |
for (const auto& alternative_service_list_item : *alternative_service_list) { |
const base::DictionaryValue* alternative_service_dict; |
- if (!alternative_service_list_item.GetAsDictionary( |
+ if (!alternative_service_list_item->GetAsDictionary( |
&alternative_service_dict)) |
return false; |
AlternativeServiceInfo alternative_service_info; |