| Index: chrome/browser/chromeos/login/easy_unlock/easy_unlock_get_keys_operation.cc
|
| diff --git a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_get_keys_operation.cc b/chrome/browser/chromeos/login/easy_unlock/easy_unlock_get_keys_operation.cc
|
| index e0789c8005fe615bf03e3f46fb0c7b8ae497ee8c..7e6256797d69a2bd2406182e32464b46ba4029e1 100644
|
| --- a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_get_keys_operation.cc
|
| +++ b/chrome/browser/chromeos/login/easy_unlock/easy_unlock_get_keys_operation.cc
|
| @@ -9,6 +9,7 @@
|
| #include "base/bind.h"
|
| #include "base/logging.h"
|
| #include "chrome/browser/chromeos/login/easy_unlock/easy_unlock_key_manager.h"
|
| +#include "components/signin/core/account_id/account_id.h"
|
| #include "google_apis/gaia/gaia_auth_util.h"
|
|
|
| namespace chromeos {
|
| @@ -32,8 +33,8 @@ void EasyUnlockGetKeysOperation::Start() {
|
| }
|
|
|
| void EasyUnlockGetKeysOperation::GetKeyData() {
|
| - std::string canonicalized =
|
| - gaia::CanonicalizeEmail(user_context_.GetUserID());
|
| + const std::string canonicalized =
|
| + gaia::CanonicalizeEmail(user_context_.GetAccountId().GetUserEmail());
|
| cryptohome::Identification id(canonicalized);
|
| cryptohome::HomedirMethods::GetInstance()->GetKeyDataEx(
|
| id,
|
|
|