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..8c080768261e05b347cb64ca801a5f85f5bee0c2 100644 |
--- a/ash/wm/window_mirror_view.cc |
+++ b/ash/wm/window_mirror_view.cc |
@@ -89,9 +89,8 @@ void WindowMirrorView::InitLayerOwner() { |
true); |
} |
- layer_owner_ = ::wm::RecreateLayers(target_->aura_window(), this); |
+ layer_owner_ = ::wm::MirrorLayers(target_->aura_window(), this); |
- GetMirrorLayer()->parent()->Remove(GetMirrorLayer()); |
SetPaintToLayer(true); |
layer()->Add(GetMirrorLayer()); |
// This causes us to clip the non-client areas of the window. |