| Index: chromeos/dbus/fake_shill_manager_client.cc
|
| diff --git a/chromeos/dbus/fake_shill_manager_client.cc b/chromeos/dbus/fake_shill_manager_client.cc
|
| index 9a1029b8906468bd77472f4013d21b81707d62d8..0c103e7161ea21d589e26fb27b9b7c5ddd745bf4 100644
|
| --- a/chromeos/dbus/fake_shill_manager_client.cc
|
| +++ b/chromeos/dbus/fake_shill_manager_client.cc
|
| @@ -67,7 +67,7 @@
|
| for (base::ListValue::const_iterator iter = service_list_in->begin();
|
| iter != service_list_in->end(); ++iter) {
|
| std::string service_path;
|
| - if (!iter->GetAsString(&service_path))
|
| + if (!(*iter)->GetAsString(&service_path))
|
| continue;
|
| const base::DictionaryValue* properties =
|
| service_client->GetServiceProperties(service_path);
|
| @@ -1027,7 +1027,7 @@
|
| for (base::ListValue::const_iterator iter = service_list->begin();
|
| iter != service_list->end(); ++iter) {
|
| std::string service_path;
|
| - if (!iter->GetAsString(&service_path))
|
| + if (!(*iter)->GetAsString(&service_path))
|
| continue;
|
| const base::DictionaryValue* properties =
|
| service_client->GetServiceProperties(service_path);
|
| @@ -1038,7 +1038,7 @@
|
| std::string type;
|
| properties->GetString(shill::kTypeProperty, &type);
|
| if (TechnologyEnabled(type))
|
| - new_service_list->Append(iter->CreateDeepCopy());
|
| + new_service_list->Append((*iter)->CreateDeepCopy());
|
| }
|
| }
|
| return new_service_list;
|
|
|