| Index: chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.cc
|
| diff --git a/chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.cc b/chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.cc
|
| index 0938b0d2df1e98e429ea4e7ada4f1bf285b0af0a..b32a2954c071fefb40f6ae998a4ed5a7ffb4ec06 100644
|
| --- a/chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.cc
|
| +++ b/chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.cc
|
| @@ -763,7 +763,7 @@ bool IsSafeForPublicSession(const extensions::Extension* extension) {
|
| for (auto it2 = list_value->begin(); it2 != list_value->end(); ++it2) {
|
| // Try to read as dictionary.
|
| const base::DictionaryValue *dict_value;
|
| - if ((*it2)->GetAsDictionary(&dict_value)) {
|
| + if (it2->GetAsDictionary(&dict_value)) {
|
| if (dict_value->size() != 1) {
|
| LOG(ERROR) << extension->id()
|
| << " has dict in permission list with size "
|
| @@ -785,7 +785,7 @@ bool IsSafeForPublicSession(const extensions::Extension* extension) {
|
| }
|
| // Try to read as string.
|
| std::string permission_string;
|
| - if (!(*it2)->GetAsString(&permission_string)) {
|
| + if (!it2->GetAsString(&permission_string)) {
|
| LOG(ERROR) << extension->id() << ": " << it.key()
|
| << " contains a token that's neither a string nor a dict.";
|
| safe = false;
|
|
|