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

Unified Diff: ash/common/system/tray/tray_details_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/system/tray/tray_details_view.cc
diff --git a/ash/common/system/tray/tray_details_view.cc b/ash/common/system/tray/tray_details_view.cc
index 6e1b8739ce4e454a5e3011fce2032f2d0b259b92..9fbe9c6534ec6ff38344853e895538223b625f87 100644
--- a/ash/common/system/tray/tray_details_view.cc
+++ b/ash/common/system/tray/tray_details_view.cc
@@ -367,7 +367,7 @@ void TrayDetailsView::CreateScrollableList() {
scroller_->SetContentsView(scroll_content_);
// Make the |scroller_| have a layer to clip |scroll_content_|'s children.
// TODO(varkha): Make the sticky rows work with EnableViewPortLayer().
- scroller_->SetPaintToLayer(true);
+ scroller_->SetPaintToLayer();
scroller_->set_background(
views::Background::CreateSolidBackground(kBackgroundColor));
scroller_->layer()->SetMasksToBounds(true);

Powered by Google App Engine
This is Rietveld 408576698