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

Unified Diff: components/policy/core/common/registry_dict.cc

Issue 2740143002: Change base::Value::ListStorage to std::vector<base::Value> (Closed)
Patch Set: Comment Updates Created 3 years, 9 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/common/registry_dict.cc
diff --git a/components/policy/core/common/registry_dict.cc b/components/policy/core/common/registry_dict.cc
index 29c9df73133d7ec59a75f9a95b936961b18a4f2e..2576d091b23c832b4d8344a71915b973019b7e71 100644
--- a/components/policy/core/common/registry_dict.cc
+++ b/components/policy/core/common/registry_dict.cc
@@ -62,7 +62,7 @@ std::unique_ptr<base::Value> ConvertValue(const base::Value& value,
for (base::ListValue::const_iterator entry(list->begin());
entry != list->end(); ++entry) {
std::unique_ptr<base::Value> converted =
- ConvertValue(**entry, schema.GetItems());
+ ConvertValue(*entry, schema.GetItems());
if (converted)
result->Append(std::move(converted));
}

Powered by Google App Engine
This is Rietveld 408576698