| Index: chromeos/network/network_sms_handler.cc
|
| diff --git a/chromeos/network/network_sms_handler.cc b/chromeos/network/network_sms_handler.cc
|
| index 42eaf41f8c6da60d6d51721aa5422184e4076950..f3eb86eb6fb4d8565dcc3e92ceaa6bd089204a23 100644
|
| --- a/chromeos/network/network_sms_handler.cc
|
| +++ b/chromeos/network/network_sms_handler.cc
|
| @@ -115,8 +115,8 @@
|
| delete_queue_.clear();
|
| for (base::ListValue::const_iterator iter = message_list.begin();
|
| iter != message_list.end(); ++iter) {
|
| - const base::DictionaryValue* message = NULL;
|
| - if (iter->GetAsDictionary(&message))
|
| + base::DictionaryValue* message = NULL;
|
| + if (!(*iter)->GetAsDictionary(&message))
|
| continue;
|
| MessageReceived(*message);
|
| double index = 0;
|
| @@ -423,7 +423,7 @@
|
| for (base::ListValue::const_iterator iter = devices->begin();
|
| iter != devices->end(); ++iter) {
|
| std::string device_path;
|
| - iter->GetAsString(&device_path);
|
| + (*iter)->GetAsString(&device_path);
|
| if (!device_path.empty()) {
|
| // Request device properties.
|
| VLOG(1) << "GetDeviceProperties: " << device_path;
|
|
|