| 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 326719fc54a6e4f65ce8fb5e857de61c053dc1e4..99a8b0763eadb9ce24fdf5bbb9f438f9d4d2f6e5 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
|
| @@ -687,10 +687,8 @@ 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::Get()->maximize_mode_controller()->AddWindow(
|
| - ash::WmWindow::Get(window));
|
| - }
|
| + if (visible)
|
| + ash::Shell::Get()->maximize_mode_controller()->AddWindow(window);
|
|
|
| AnimationSetter animation_setter(
|
| window,
|
|
|