| Index: chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc
|
| diff --git a/chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc b/chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc
|
| index 7e5cda0b77fd62610274aba4fbca6c6990aa70d4..31acc2f3d8a9a1325a1a42cae6fc16bc3c6aa432 100644
|
| --- a/chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc
|
| +++ b/chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h"
|
|
|
| +#include "ash/aura/wm_window_aura.h"
|
| #include "ash/common/ash_switches.h"
|
| #include "ash/common/session/session_state_delegate.h"
|
| #include "ash/common/shell_window_ids.h"
|
| @@ -739,8 +740,10 @@ void MultiUserWindowManagerChromeOS::SetWindowVisible(
|
| // are not user activatable. Since invisible windows are not being tracked,
|
| // we tell it to maximize / track this window now before it gets shown, to
|
| // reduce animation jank from multiple resizes.
|
| - if (visible)
|
| - ash::Shell::GetInstance()->maximize_mode_controller()->AddWindow(window);
|
| + if (visible) {
|
| + ash::Shell::GetInstance()->maximize_mode_controller()->AddWindow(
|
| + ash::WmWindowAura::Get(window));
|
| + }
|
|
|
| AnimationSetter animation_setter(
|
| window,
|
|
|