| Index: ash/common/wm_shell.cc
|
| diff --git a/ash/common/wm_shell.cc b/ash/common/wm_shell.cc
|
| index a9b44633f32e323e32530557ea88302b0ed5a957..08ef8c000944ce10b6e043f84a5d5e4cf19b86a6 100644
|
| --- a/ash/common/wm_shell.cc
|
| +++ b/ash/common/wm_shell.cc
|
| @@ -303,6 +303,13 @@ void WmShell::SessionStateChanged(session_manager::SessionState state) {
|
| // multiple times (e.g. initial login vs. multiprofile add session).
|
| if (state == session_manager::SessionState::ACTIVE)
|
| CreateShelfView();
|
| +
|
| + // Only trigger an update in mash because with classic ash chrome calls
|
| + // UpdateAfterLoginStatusChange() directly.
|
| + if (IsRunningInMash()) {
|
| + // TODO(jamescook): Should this call Shell::OnLoginStatusChanged() too?
|
| + UpdateAfterLoginStatusChange(session_controller_->GetLoginStatus());
|
| + }
|
| }
|
|
|
| } // namespace ash
|
|
|