Index: ash/aura/wm_window_aura.cc |
diff --git a/ash/aura/wm_window_aura.cc b/ash/aura/wm_window_aura.cc |
index fb89c25312fabe20e86a9523a793e248623a3935..f43120accd6dc502a3cb412b27d7e8b8e2f604cd 100644 |
--- a/ash/aura/wm_window_aura.cc |
+++ b/ash/aura/wm_window_aura.cc |
@@ -498,7 +498,7 @@ void WmWindowAura::SetBoundsDirectCrossFade(const gfx::Rect& bounds) { |
// Specify |set_bounds| to true here to keep the old bounds in the child |
// windows of |window|. |
std::unique_ptr<ui::LayerTreeOwner> old_layer_owner = |
- ::wm::RecreateLayers(window_, nullptr); |
+ ::wm::RecreateLayers(window_); |
ui::Layer* old_layer = old_layer_owner->root(); |
DCHECK(old_layer); |
ui::Layer* new_layer = window_->layer(); |