| 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 89e751d9029d08f3a9007a6f622738a9320a52fa..7364341169190c08b10fbbf17aebb21d3dd8a41f 100644
|
| --- a/remoting/protocol/http_ice_config_request.cc
|
| +++ b/remoting/protocol/http_ice_config_request.cc
|
| @@ -162,13 +162,13 @@
|
| // Parse iceServers list and store them in |ice_config|.
|
| bool errors_found = false;
|
| for (const auto& server : *ice_servers_list) {
|
| - const base::DictionaryValue* server_dict;
|
| - if (!server.GetAsDictionary(&server_dict)) {
|
| + base::DictionaryValue* server_dict;
|
| + if (!server->GetAsDictionary(&server_dict)) {
|
| errors_found = true;
|
| continue;
|
| }
|
|
|
| - const base::ListValue* urls_list = nullptr;
|
| + base::ListValue* urls_list = nullptr;
|
| if (!server_dict->GetList("urls", &urls_list)) {
|
| errors_found = true;
|
| continue;
|
| @@ -182,7 +182,7 @@
|
|
|
| for (const auto& url : *urls_list) {
|
| std::string url_str;
|
| - if (!url.GetAsString(&url_str)) {
|
| + if (!url->GetAsString(&url_str)) {
|
| errors_found = true;
|
| continue;
|
| }
|
|
|