Index: components/signin/core/browser/signin_manager_base.cc |
diff --git a/components/signin/core/browser/signin_manager_base.cc b/components/signin/core/browser/signin_manager_base.cc |
index b36d21d0f56930938c7e34d92c8628b878b2e0bd..df125732094ec78b37c3e717378dc4c7669e1cc8 100644 |
--- a/components/signin/core/browser/signin_manager_base.cc |
+++ b/components/signin/core/browser/signin_manager_base.cc |
@@ -8,6 +8,7 @@ |
#include <vector> |
#include "base/command_line.h" |
+#include "base/memory/ptr_util.h" |
#include "base/memory/ref_counted.h" |
#include "base/strings/string_split.h" |
#include "base/strings/string_util.h" |
@@ -58,7 +59,7 @@ void SigninManagerBase::RegisterProfilePrefs( |
registry->RegisterBooleanPref(prefs::kAutologinEnabled, true); |
registry->RegisterBooleanPref(prefs::kReverseAutologinEnabled, true); |
registry->RegisterListPref(prefs::kReverseAutologinRejectedEmailList, |
- new base::ListValue); |
+ base::MakeUnique<base::ListValue>()); |
registry->RegisterBooleanPref(prefs::kSigninAllowed, true); |
registry->RegisterInt64Pref(prefs::kSignedInTime, |
base::Time().ToInternalValue()); |