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

Unified Diff: components/policy/core/common/policy_loader_win.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/common/policy_loader_win.cc
diff --git a/components/policy/core/common/policy_loader_win.cc b/components/policy/core/common/policy_loader_win.cc
index b5ff23fa626c82ca4386f317f792f075a5424832..d86ae5dc1ef85fa6aba9927d72f2ae5144acc2e6 100644
--- a/components/policy/core/common/policy_loader_win.cc
+++ b/components/policy/core/common/policy_loader_win.cc
@@ -113,7 +113,7 @@
std::unique_ptr<base::ListValue> filtered_values(new base::ListValue);
for (const auto& list_entry : *policy_list_value) {
std::string entry;
- if (!list_entry.GetAsString(&entry))
+ if (!list_entry->GetAsString(&entry))
continue;
size_t pos = entry.find(';');
if (pos == std::string::npos)

Powered by Google App Engine
This is Rietveld 408576698