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 80d59a21a952586a4ed781cdccac7b80188dc8e5..ebdc893eed7fa764b796ae376a5a6f089e324d06 100644 |
--- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc |
+++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc |
@@ -903,6 +903,10 @@ class SystemTrayDelegate : public ash::SystemTrayDelegate, |
IDS_SYSTEM_TRAY_MENU_BUBBLE_WIDTH_PIXELS); |
} |
+ virtual void ActiveUserWasChanged() OVERRIDE { |
+ GetSystemTrayNotifier()->NotifyUserUpdate(); |
+ } |
+ |
private: |
ash::SystemTray* GetPrimarySystemTray() { |
return ash::Shell::GetInstance()->GetPrimarySystemTray(); |
@@ -1299,10 +1303,6 @@ class SystemTrayDelegate : public ash::SystemTrayDelegate, |
} |
// Overridden from ash::SessionStateObserver |
- virtual void ActiveUserChanged(const std::string& user_id) OVERRIDE { |
- GetSystemTrayNotifier()->NotifyUserUpdate(); |
- } |
- |
virtual void UserAddedToSession(const std::string& user_id) OVERRIDE { |
GetSystemTrayNotifier()->NotifyUserAddedToSession(); |
} |