| Index: ash/system/status_area_widget.cc
|
| diff --git a/ash/system/status_area_widget.cc b/ash/system/status_area_widget.cc
|
| index 937062566a31c9ae93adec41668f3018f5d8354f..59f91a7a9ac50440e5f66282c0b237456580395c 100644
|
| --- a/ash/system/status_area_widget.cc
|
| +++ b/ash/system/status_area_widget.cc
|
| @@ -87,7 +87,8 @@ class DummySystemTrayDelegate : public SystemTrayDelegate {
|
| }
|
|
|
| virtual user::LoginStatus GetUserLoginStatus() const OVERRIDE {
|
| - return user::LOGGED_IN_USER;
|
| + return Shell::GetInstance()->IsScreenLocked() ? user::LOGGED_IN_LOCKED :
|
| + user::LOGGED_IN_USER;
|
| }
|
|
|
| virtual bool SystemShouldUpgrade() const OVERRIDE {
|
|
|