| Index: chrome/browser/chromeos/login/ui/webui_login_display.cc
|
| diff --git a/chrome/browser/chromeos/login/ui/webui_login_display.cc b/chrome/browser/chromeos/login/ui/webui_login_display.cc
|
| index 173abaa62e0a874718a699d1e53c91f41bea9151..bc843aae87a319675cecc76625093ce55c644ab0 100644
|
| --- a/chrome/browser/chromeos/login/ui/webui_login_display.cc
|
| +++ b/chrome/browser/chromeos/login/ui/webui_login_display.cc
|
| @@ -120,7 +120,7 @@ void WebUILoginDisplay::SetUIEnabled(bool is_enabled) {
|
| // Allow this call only before user sign in or at lock screen.
|
| // If this call is made after new user signs in but login screen is still
|
| // around that would trigger a sign in extension refresh.
|
| - if (is_enabled && (!UserManager::Get()->IsUserLoggedIn() ||
|
| + if (is_enabled && (!GetUserManager()->IsUserLoggedIn() ||
|
| ScreenLocker::default_screen_locker())) {
|
| ClearAndEnablePassword();
|
| }
|
| @@ -274,7 +274,7 @@ void WebUILoginDisplay::OnSigninScreenReady() {
|
| }
|
|
|
| void WebUILoginDisplay::RemoveUser(const std::string& username) {
|
| - UserManager::Get()->RemoveUser(username, this);
|
| + GetUserManager()->RemoveUser(username, this);
|
| }
|
|
|
| void WebUILoginDisplay::ResyncUserData() {
|
|
|