Index: ash/wm/window_mirror_view.cc |
diff --git a/ash/wm/window_mirror_view.cc b/ash/wm/window_mirror_view.cc |
index d7f0ced6f948e0d8bae005b891180a80fca2a74b..b604e45c7648aa0e46a3ab70e7ae91dfedde91a4 100644 |
--- a/ash/wm/window_mirror_view.cc |
+++ b/ash/wm/window_mirror_view.cc |
@@ -89,9 +89,9 @@ void WindowMirrorView::InitLayerOwner() { |
true); |
} |
- layer_owner_ = ::wm::RecreateLayers(target_->aura_window(), this); |
+ layer_owner_ = |
+ ::wm::MirrorLayers(target_->aura_window(), this, false /* sync_bounds */); |
- GetMirrorLayer()->parent()->Remove(GetMirrorLayer()); |
SetPaintToLayer(true); |
layer()->Add(GetMirrorLayer()); |
// This causes us to clip the non-client areas of the window. |