Index: ash/wm/window_mirror_view.cc |
diff --git a/ash/wm/window_mirror_view.cc b/ash/wm/window_mirror_view.cc |
index 52c87d15e070181c2474abac64e57dab64ff7839..44916c266d2224168f6f6d1032e71c4c962374f2 100644 |
--- a/ash/wm/window_mirror_view.cc |
+++ b/ash/wm/window_mirror_view.cc |
@@ -12,6 +12,7 @@ |
#include "ui/aura/window.h" |
#include "ui/compositor/layer.h" |
#include "ui/compositor/layer_tree_owner.h" |
+#include "ui/compositor/layer_type.h" |
#include "ui/views/widget/widget.h" |
#include "ui/wm/core/window_util.h" |
@@ -86,7 +87,7 @@ void WindowMirrorView::InitLayerOwner() { |
layer_owner_ = |
::wm::MirrorLayers(target_->aura_window(), false /* sync_bounds */); |
- SetPaintToLayer(true); |
+ SetPaintToLayer(ui::LAYER_TEXTURED); |
layer()->Add(GetMirrorLayer()); |
// This causes us to clip the non-client areas of the window. |
layer()->SetMasksToBounds(true); |