Index: components/sync_preferences/pref_service_syncable_unittest.cc |
diff --git a/components/sync_preferences/pref_service_syncable_unittest.cc b/components/sync_preferences/pref_service_syncable_unittest.cc |
index 676c5f27a613e659411341ac722337d6d8233e7c..008446ba150b79aafbdd6618ab1902b740dbcca8 100644 |
--- a/components/sync_preferences/pref_service_syncable_unittest.cc |
+++ b/components/sync_preferences/pref_service_syncable_unittest.cc |
@@ -539,7 +539,7 @@ TEST_F(PrefServiceSyncableTest, DeletePreference) { |
InitWithNoSyncData(); |
- std::unique_ptr<base::Value> null_value = base::Value::CreateNullValue(); |
+ auto null_value = base::MakeUnique<base::Value>(); |
syncer::SyncChangeList list; |
list.push_back(MakeRemoteChange(1, kStringPrefName, *null_value, |
SyncChange::ACTION_DELETE)); |