| Index: chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc
|
| diff --git a/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc b/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc
|
| index 29b91ffb7be7255fee5d61f82100c73c5a2433b0..2340ffd0230c4809a4fdb5bcd4a6b185f4e35e15 100644
|
| --- a/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc
|
| +++ b/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc
|
| @@ -461,7 +461,7 @@ void OwnerSettingsServiceChromeOS::UpdateDeviceSettings(
|
| entry != accounts_list->end();
|
| ++entry) {
|
| const base::DictionaryValue* entry_dict = NULL;
|
| - if ((*entry)->GetAsDictionary(&entry_dict)) {
|
| + if (entry->GetAsDictionary(&entry_dict)) {
|
| em::DeviceLocalAccountInfoProto* account =
|
| device_local_accounts->add_account();
|
| std::string account_id;
|
| @@ -559,7 +559,7 @@ void OwnerSettingsServiceChromeOS::UpdateDeviceSettings(
|
| i != users->end();
|
| ++i) {
|
| std::string email;
|
| - if ((*i)->GetAsString(&email))
|
| + if (i->GetAsString(&email))
|
| whitelist_proto->add_user_whitelist(email);
|
| }
|
| }
|
| @@ -591,7 +591,7 @@ void OwnerSettingsServiceChromeOS::UpdateDeviceSettings(
|
| i != flags->end();
|
| ++i) {
|
| std::string flag;
|
| - if ((*i)->GetAsString(&flag))
|
| + if (i->GetAsString(&flag))
|
| flags_proto->add_flags(flag);
|
| }
|
| }
|
|
|