Index: chrome/browser/signin/easy_unlock_service_unittest_chromeos.cc |
diff --git a/chrome/browser/signin/easy_unlock_service_unittest_chromeos.cc b/chrome/browser/signin/easy_unlock_service_unittest_chromeos.cc |
index 3d3f30839ebaf43e273bd50eb50cdb0efea20ead..af7f0104454218f8d9649cc8f8b89809daa2276a 100644 |
--- a/chrome/browser/signin/easy_unlock_service_unittest_chromeos.cc |
+++ b/chrome/browser/signin/easy_unlock_service_unittest_chromeos.cc |
@@ -235,8 +235,8 @@ class EasyUnlockServiceTest : public testing::Test { |
} |
void SetEasyUnlockAllowedPolicy(bool allowed) { |
- profile_->GetTestingPrefService()->SetManagedPref(prefs::kEasyUnlockAllowed, |
- new base::Value(allowed)); |
+ profile_->GetTestingPrefService()->SetManagedPref( |
+ prefs::kEasyUnlockAllowed, base::MakeUnique<base::Value>(allowed)); |
} |
void set_is_bluetooth_adapter_present(bool is_present) { |