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

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

Issue 1129083003: More base::Values-related bare pointer -> scoped_ptr conversions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix bad merge Created 5 years, 7 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/schema_map_unittest.cc
diff --git a/components/policy/core/common/schema_map_unittest.cc b/components/policy/core/common/schema_map_unittest.cc
index cf179109145be68b6d4cb7ad0cf13faf3521358c..ef7e336c9b6f810b5f73b2683a91c5246e7dab25 100644
--- a/components/policy/core/common/schema_map_unittest.cc
+++ b/components/policy/core/common/schema_map_unittest.cc
@@ -173,7 +173,7 @@ TEST_F(SchemaMapTest, FilterBundle) {
new base::FundamentalValue(1),
NULL);
map.Set("null", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER,
- base::Value::CreateNullValue(), NULL);
+ base::Value::CreateNullValue().release(), NULL);
map.Set("double",
POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER,

Powered by Google App Engine
This is Rietveld 408576698