| Index: chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
|
| diff --git a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
|
| index d7017a84b5dcb5aa19493d47e3feff870bcb2c9f..95591798c1e84c0959c8692c9bb66c218d511bcc 100644
|
| --- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
|
| +++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
|
| @@ -104,7 +104,8 @@ SystemTrayDelegateChromeOS::SystemTrayDelegateChromeOS()
|
| // Register notifications on construction so that events such as
|
| // PROFILE_CREATED do not get missed if they happen before Initialize().
|
| registrar_.reset(new content::NotificationRegistrar);
|
| - if (GetUserLoginStatus() == ash::LoginStatus::NOT_LOGGED_IN) {
|
| + if (SystemTrayClient::GetUserLoginStatus() ==
|
| + ash::LoginStatus::NOT_LOGGED_IN) {
|
| registrar_->Add(this,
|
| chrome::NOTIFICATION_SESSION_STARTED,
|
| content::NotificationService::AllSources());
|
| @@ -164,10 +165,6 @@ SystemTrayDelegateChromeOS::~SystemTrayDelegateChromeOS() {
|
| StopObservingAppWindowRegistry();
|
| }
|
|
|
| -ash::LoginStatus SystemTrayDelegateChromeOS::GetUserLoginStatus() const {
|
| - return SystemTrayClient::GetUserLoginStatus();
|
| -}
|
| -
|
| void SystemTrayDelegateChromeOS::ShowUserLogin() {
|
| if (!ash::Shell::Get()->shell_delegate()->IsMultiProfilesEnabled())
|
| return;
|
|
|