| Index: chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager_factory.cc
|
| diff --git a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager_factory.cc b/chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager_factory.cc
|
| index ebce3abcc06faeb71e96dc7d9f08b9127a5d68b7..00d1d0eda991e6e2ee49d1bab0e515ab5ca6b5bc 100644
|
| --- a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager_factory.cc
|
| +++ b/chrome/browser/chromeos/login/easy_unlock/easy_unlock_tpm_key_manager_factory.cc
|
| @@ -11,7 +11,6 @@
|
| #include "chrome/browser/profiles/incognito_helpers.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "components/keyed_service/content/browser_context_dependency_manager.h"
|
| -#include "components/signin/core/account_id/account_id.h"
|
| #include "components/user_manager/user.h"
|
|
|
| namespace {
|
| @@ -37,8 +36,8 @@
|
|
|
| EasyUnlockTpmKeyManager* EasyUnlockTpmKeyManagerFactory::GetForUser(
|
| const std::string& user_id) {
|
| - const user_manager::User* user = user_manager::UserManager::Get()->FindUser(
|
| - AccountId::FromUserEmail(user_id));
|
| + const user_manager::User* user =
|
| + user_manager::UserManager::Get()->FindUser(user_id);
|
| if (!user)
|
| return NULL;
|
| Profile* profile = chromeos::ProfileHelper::Get()->GetProfileByUser(user);
|
|
|