Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: components/policy/core/browser/configuration_policy_handler.cc

Issue 2816513002: Revert of Change base::Value::ListStorage to std::vector<base::Value> (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698