Index: ui/wm/core/window_animations.cc |
diff --git a/ui/wm/core/window_animations.cc b/ui/wm/core/window_animations.cc |
index 3fd5977ded9550c9af83174fbff6716e021c0518..c32da2952fd77c9e4761381eb64b9cce11f6baf7 100644 |
--- a/ui/wm/core/window_animations.cc |
+++ b/ui/wm/core/window_animations.cc |
@@ -84,7 +84,7 @@ class HidingWindowAnimationObserverBase : public aura::WindowObserver { |
// activation change does not put the window above the animating |
// layer. |
void DetachAndRecreateLayers() { |
- layer_owner_ = RecreateLayers(window_, nullptr); |
+ layer_owner_ = RecreateLayers(window_); |
if (window_->parent()) { |
const aura::Window::Windows& transient_children = |
GetTransientChildren(window_); |