Index: chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.cc |
diff --git a/chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.cc b/chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.cc |
index cad2fe6307841bc94534d7674f60f5d4bf46c59b..da9c45f384c2dd6c8483c802a89f4b8e7012834d 100644 |
--- a/chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.cc |
+++ b/chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.cc |
@@ -334,7 +334,7 @@ void UserSwitchAnimatorChromeOS::TransitionWindows( |
// window we encounter. |
found_foreground_maximized_window = true; |
ui::LayerTreeOwner* old_layer = |
- wm::RecreateLayers(window, nullptr).release(); |
+ wm::RecreateLayers(window).release(); |
window->layer()->parent()->StackAtBottom(old_layer->root()); |
new MaximizedWindowAnimationWatcher(window->layer()->GetAnimator(), |
old_layer); |