| Index: chrome/browser/chromeos/login/login_manager_test.cc
|
| diff --git a/chrome/browser/chromeos/login/login_manager_test.cc b/chrome/browser/chromeos/login/login_manager_test.cc
|
| index 09f059471c725377ac4971c50fa9afb62b46a82e..9314f0ca341239b6e0c6410a95d353f743115c3c 100644
|
| --- a/chrome/browser/chromeos/login/login_manager_test.cc
|
| +++ b/chrome/browser/chromeos/login/login_manager_test.cc
|
| @@ -67,7 +67,7 @@ void LoginManagerTest::SetExpectedCredentials(const UserContext& user_context) {
|
| bool LoginManagerTest::TryToLogin(const UserContext& user_context) {
|
| if (!AddUserToSession(user_context))
|
| return false;
|
| - if (const User* active_user = UserManager::Get()->GetActiveUser())
|
| + if (const User* active_user = GetUserManager()->GetActiveUser())
|
| return active_user->email() == user_context.GetUserID();
|
| return false;
|
| }
|
| @@ -83,7 +83,7 @@ bool LoginManagerTest::AddUserToSession(const UserContext& user_context) {
|
| content::WindowedNotificationObserver(
|
| chrome::NOTIFICATION_SESSION_STARTED,
|
| content::NotificationService::AllSources()).Wait();
|
| - const UserList& logged_users = UserManager::Get()->GetLoggedInUsers();
|
| + const UserList& logged_users = GetUserManager()->GetLoggedInUsers();
|
| for (UserList::const_iterator it = logged_users.begin();
|
| it != logged_users.end(); ++it) {
|
| if ((*it)->email() == user_context.GetUserID())
|
|
|