Index: chrome/browser/chromeos/arc/arc_play_store_enabled_preference_handler_unittest.cc |
diff --git a/chrome/browser/chromeos/arc/arc_play_store_enabled_preference_handler_unittest.cc b/chrome/browser/chromeos/arc/arc_play_store_enabled_preference_handler_unittest.cc |
index a61f051038e3110ecbd734ed205d8df21503abc7..356a73e290640591e773433125cae182a20f5b71 100644 |
--- a/chrome/browser/chromeos/arc/arc_play_store_enabled_preference_handler_unittest.cc |
+++ b/chrome/browser/chromeos/arc/arc_play_store_enabled_preference_handler_unittest.cc |
@@ -136,8 +136,8 @@ TEST_F(ArcPlayStoreEnabledPreferenceHandlerTest, |
TEST_F(ArcPlayStoreEnabledPreferenceHandlerTest, RemoveDataDir_Managed) { |
// Set ARC to be managed and disabled. |
- profile()->GetTestingPrefService()->SetManagedPref(prefs::kArcEnabled, |
- new base::Value(false)); |
+ profile()->GetTestingPrefService()->SetManagedPref( |
+ prefs::kArcEnabled, base::MakeUnique<base::Value>(false)); |
// Starting session manager with prefs::kArcEnabled off in a managed profile |
// does automatically remove Android's data folder. |