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

Unified Diff: ash/common/wallpaper/wallpaper_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/common/wallpaper/wallpaper_view.cc
diff --git a/ash/common/wallpaper/wallpaper_view.cc b/ash/common/wallpaper/wallpaper_view.cc
index c690b520feb77840413e258ae99a6a7cdbfc9c24..85c14e9d272ed0751ad08199209d3fd06c09a69e 100644
--- a/ash/common/wallpaper/wallpaper_view.cc
+++ b/ash/common/wallpaper/wallpaper_view.cc
@@ -34,7 +34,7 @@ class LayerControlView : public views::View {
public:
explicit LayerControlView(views::View* view) {
AddChildView(view);
- view->SetPaintToLayer(true);
+ view->SetPaintToLayer();
}
// Overrides views::View.

Powered by Google App Engine
This is Rietveld 408576698