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

Unified Diff: ui/app_list/views/app_list_folder_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: ui/app_list/views/app_list_folder_view.cc
diff --git a/ui/app_list/views/app_list_folder_view.cc b/ui/app_list/views/app_list_folder_view.cc
index 40a75ed3efba619e88689ce96708d0f7c5d22abe..1b69049101e2fa1be3d25c0df246402c9dfe00a2 100644
--- a/ui/app_list/views/app_list_folder_view.cc
+++ b/ui/app_list/views/app_list_folder_view.cc
@@ -63,7 +63,7 @@ AppListFolderView::AppListFolderView(AppsContainerView* container_view,
AddChildView(items_grid_view_);
view_model_->Add(items_grid_view_, kIndexChildItems);
- SetPaintToLayer(true);
+ SetPaintToLayer();
layer()->SetFillsBoundsOpaquely(false);
model_->AddObserver(this);

Powered by Google App Engine
This is Rietveld 408576698