| Index: chrome/browser/signin/easy_unlock_service_regular.cc
|
| diff --git a/chrome/browser/signin/easy_unlock_service_regular.cc b/chrome/browser/signin/easy_unlock_service_regular.cc
|
| index d9d377910bbf69ddbd65627d5ccb37bae506bade..51ffd058c09d234ad59987759de3d3b5d4ef5914 100644
|
| --- a/chrome/browser/signin/easy_unlock_service_regular.cc
|
| +++ b/chrome/browser/signin/easy_unlock_service_regular.cc
|
| @@ -189,15 +189,12 @@ void EasyUnlockServiceRegular::SetRemoteDevices(
|
| !devices.empty()) {
|
| // We may already have the password cached, so proceed to create the
|
| // cryptohome keys for sign-in or the system will be hardlocked.
|
| - chromeos::UserContext* user_context =
|
| - short_lived_user_context_->user_context();
|
| - chromeos::EasyUnlockKeyManager* key_manager =
|
| - chromeos::UserSessionManager::GetInstance()->GetEasyUnlockKeyManager();
|
| -
|
| - key_manager->RefreshKeys(
|
| - *user_context, devices,
|
| - base::Bind(&EasyUnlockServiceRegular::OnKeysRefreshedForSetDevices,
|
| - weak_ptr_factory_.GetWeakPtr()));
|
| + chromeos::UserSessionManager::GetInstance()->GetEasyUnlockKeyManager()
|
| + ->RefreshKeys(
|
| + *short_lived_user_context_->user_context(),
|
| + devices,
|
| + base::Bind(&EasyUnlockServiceRegular::OnKeysRefreshedForSetDevices,
|
| + weak_ptr_factory_.GetWeakPtr()));
|
| } else {
|
| CheckCryptohomeKeysAndMaybeHardlock();
|
| }
|
|
|