Index: chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.cc |
diff --git a/chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.cc b/chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.cc |
index a70a11a1404a61631a332d39bdf964e6784fcd75..f3a306c6ccf5ab25c2c5ebe2a7bede9a4e88da90 100644 |
--- a/chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.cc |
+++ b/chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.cc |
@@ -46,7 +46,7 @@ void RegisterProfilePrefs(PrefRegistrySimple* registry) { |
base::ListValue quick_unlock_whitelist_default; |
quick_unlock_whitelist_default.AppendString(kQuickUnlockWhitelistOptionPin); |
registry->RegisterListPref(prefs::kQuickUnlockModeWhitelist, |
- quick_unlock_whitelist_default.DeepCopy()); |
+ quick_unlock_whitelist_default.CreateDeepCopy()); |
registry->RegisterIntegerPref( |
prefs::kQuickUnlockTimeout, |
static_cast<int>(PasswordConfirmationFrequency::DAY)); |