Index: chrome/browser/chromeos/arc/optin/arc_terms_of_service_default_negotiator_unittest.cc |
diff --git a/chrome/browser/chromeos/arc/optin/arc_terms_of_service_default_negotiator_unittest.cc b/chrome/browser/chromeos/arc/optin/arc_terms_of_service_default_negotiator_unittest.cc |
index 78eb27f44d65f0286c963283926ab0d6590dbbde..56687cdff90bba1752cf181938497582ca2b8842 100644 |
--- a/chrome/browser/chromeos/arc/optin/arc_terms_of_service_default_negotiator_unittest.cc |
+++ b/chrome/browser/chromeos/arc/optin/arc_terms_of_service_default_negotiator_unittest.cc |
@@ -124,10 +124,10 @@ TEST_F(ArcTermsOfServiceDefaultNegotiatorTest, Accept) { |
// The preferences are assigned to the managed false value, and the |
// corresponding checkboxes are unchecked. |
profile()->GetTestingPrefService()->SetManagedPref( |
- prefs::kArcBackupRestoreEnabled, new base::Value(false)); |
+ prefs::kArcBackupRestoreEnabled, base::MakeUnique<base::Value>(false)); |
EXPECT_FALSE(fake_arc_support()->backup_and_restore_mode()); |
profile()->GetTestingPrefService()->SetManagedPref( |
- prefs::kArcLocationServiceEnabled, new base::Value(false)); |
+ prefs::kArcLocationServiceEnabled, base::MakeUnique<base::Value>(false)); |
EXPECT_FALSE(fake_arc_support()->location_service_mode()); |
// The managed preference values are removed, and the corresponding checkboxes |