Index: chrome/browser/chromeos/login/fake_login_utils.cc |
diff --git a/chrome/browser/chromeos/login/fake_login_utils.cc b/chrome/browser/chromeos/login/fake_login_utils.cc |
index 2f7a0f11ed75e0c23072851e7078eebbb1414aef..678ba11e6c6f8e2b8b96d49a6bf4cb7209eda9dd 100644 |
--- a/chrome/browser/chromeos/login/fake_login_utils.cc |
+++ b/chrome/browser/chromeos/login/fake_login_utils.cc |
@@ -61,7 +61,7 @@ void FakeLoginUtils::PrepareProfile(const UserContext& user_context, |
LoginUtils::Delegate* delegate) { |
UserManager::Get()->UserLoggedIn( |
user_context.username, user_context.username_hash, false); |
- Profile* profile = CreateProfile(user_context.username); |
+ Profile* profile = CreateProfile(user_context.username_hash); |
if (UserManager::Get()->IsLoggedInAsLocallyManagedUser()) { |
User* active_user = UserManager::Get()->GetActiveUser(); |