Index: remoting/protocol/http_ice_config_request.cc |
diff --git a/remoting/protocol/http_ice_config_request.cc b/remoting/protocol/http_ice_config_request.cc |
index 7e8e5aabda1800cba38d215a89db226e88940292..7364341169190c08b10fbbf17aebb21d3dd8a41f 100644 |
--- a/remoting/protocol/http_ice_config_request.cc |
+++ b/remoting/protocol/http_ice_config_request.cc |
@@ -161,7 +161,7 @@ void HttpIceConfigRequest::OnResponse(const UrlRequest::Result& result) { |
// Parse iceServers list and store them in |ice_config|. |
bool errors_found = false; |
- for (base::Value* server : *ice_servers_list) { |
+ for (const auto& server : *ice_servers_list) { |
base::DictionaryValue* server_dict; |
if (!server->GetAsDictionary(&server_dict)) { |
errors_found = true; |
@@ -180,7 +180,7 @@ void HttpIceConfigRequest::OnResponse(const UrlRequest::Result& result) { |
std::string password; |
server_dict->GetString("credential", &password); |
- for (base::Value* url : *urls_list) { |
+ for (const auto& url : *urls_list) { |
std::string url_str; |
if (!url->GetAsString(&url_str)) { |
errors_found = true; |