Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2410)

Unified Diff: ash/wm/window_mirror_view.cc

Issue 2639203007: Update SetPaintToLayer to accept LayerType (Closed)
Patch Set: fix comments Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..7b67803f202b5e83c7ba79bf850f06e1814977ab 100644
--- a/ash/wm/window_mirror_view.cc
+++ b/ash/wm/window_mirror_view.cc
@@ -86,7 +86,7 @@ void WindowMirrorView::InitLayerOwner() {
layer_owner_ =
::wm::MirrorLayers(target_->aura_window(), false /* sync_bounds */);
- SetPaintToLayer(true);
+ SetPaintToLayer();
layer()->Add(GetMirrorLayer());
// This causes us to clip the non-client areas of the window.
layer()->SetMasksToBounds(true);

Powered by Google App Engine
This is Rietveld 408576698