| Index: chrome/browser/ui/ash/multi_user/multi_user_util.cc
|
| diff --git a/chrome/browser/ui/ash/multi_user/multi_user_util.cc b/chrome/browser/ui/ash/multi_user/multi_user_util.cc
|
| index 9aecd9302ed313b22aaa4bdf208ecddc1cf4bbd6..4a44596fa82a78ab4d4d0ffab34131261ef34678 100644
|
| --- a/chrome/browser/ui/ash/multi_user/multi_user_util.cc
|
| +++ b/chrome/browser/ui/ash/multi_user/multi_user_util.cc
|
| @@ -63,7 +63,7 @@ Profile* GetProfileFromWindow(aura::Window* window) {
|
| bool IsProfileFromActiveUser(Profile* profile) {
|
| #if defined(OS_CHROMEOS)
|
| return GetUserIDFromProfile(profile) ==
|
| - chromeos::UserManager::Get()->GetActiveUser()->email();
|
| + chromeos::GetUserManager()->GetActiveUser()->email();
|
| #else
|
| // In non Chrome OS configurations this will be always true since this only
|
| // makes sense in separate desktop mode.
|
| @@ -73,7 +73,7 @@ bool IsProfileFromActiveUser(Profile* profile) {
|
|
|
| const std::string& GetCurrentUserId() {
|
| #if defined(OS_CHROMEOS)
|
| - return chromeos::UserManager::Get()->GetActiveUser()->email();
|
| + return chromeos::GetUserManager()->GetActiveUser()->email();
|
| #else
|
| return base::EmptyString();
|
| #endif
|
|
|