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

Unified Diff: ui/app_list/views/app_list_main_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_main_view.cc
diff --git a/ui/app_list/views/app_list_main_view.cc b/ui/app_list/views/app_list_main_view.cc
index 159545001b50b980a42d8a674ad0948ae9019b55..baafd3fbca13cd2fe039104495aa9a8f1f35f8dc 100644
--- a/ui/app_list/views/app_list_main_view.cc
+++ b/ui/app_list/views/app_list_main_view.cc
@@ -127,7 +127,7 @@ void AppListMainView::AddContentsViews() {
search_box_view_->set_contents_view(contents_view_);
- contents_view_->SetPaintToLayer(true);
+ contents_view_->SetPaintToLayer();
contents_view_->layer()->SetFillsBoundsOpaquely(false);
contents_view_->layer()->SetMasksToBounds(true);

Powered by Google App Engine
This is Rietveld 408576698