Index: ash/aura/wm_window_aura.cc |
diff --git a/ash/aura/wm_window_aura.cc b/ash/aura/wm_window_aura.cc |
index 0bff46ef796b6eaf2eaa81cd1e5c03b1ed5e02d3..fd4bfee0f3c896d3559e61710aba71a75414565f 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(); |