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

Unified Diff: components/policy/core/common/policy_test_utils.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_test_utils.cc
diff --git a/components/policy/core/common/policy_test_utils.cc b/components/policy/core/common/policy_test_utils.cc
index fcf89f92de80c7582215cf69adf5d787707bf6a0..7f4e597376bcea8ed06b754db0ddfd7c7f89e5b5 100644
--- a/components/policy/core/common/policy_test_utils.cc
+++ b/components/policy/core/common/policy_test_utils.cc
@@ -126,7 +126,7 @@
// CFArrayAppendValue() retains |cf_value|, so make sure the reference
// created by ValueToProperty() is released.
base::ScopedCFTypeRef<CFPropertyListRef> cf_value(
- ValueToProperty(entry));
+ ValueToProperty(*entry));
if (cf_value)
CFArrayAppendValue(array, cf_value);
}
« no previous file with comments | « components/policy/core/common/policy_loader_win_unittest.cc ('k') | components/policy/core/common/registry_dict.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698