Index: components/policy/core/browser/configuration_policy_handler.cc |
diff --git a/components/policy/core/browser/configuration_policy_handler.cc b/components/policy/core/browser/configuration_policy_handler.cc |
index e591f99acc3fba8edafbc7b1623b1292a322b175..17de0cdd109f0373e6eed0c73ee618f23930172e 100644 |
--- a/components/policy/core/browser/configuration_policy_handler.cc |
+++ b/components/policy/core/browser/configuration_policy_handler.cc |
@@ -184,7 +184,7 @@ |
for (auto entry = list_value->begin(); entry != list_value->end(); ++entry) { |
std::string entry_value; |
- if (!entry->GetAsString(&entry_value)) { |
+ if (!(*entry)->GetAsString(&entry_value)) { |
if (errors) { |
errors->AddError(policy_name(), entry - list_value->begin(), |
IDS_POLICY_TYPE_ERROR, |