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

Unified Diff: ash/common/system/tray/tray_popup_item_container.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_popup_item_container.cc
diff --git a/ash/common/system/tray/tray_popup_item_container.cc b/ash/common/system/tray/tray_popup_item_container.cc
index f342878f2046ee8a69484ba8e1927bcae3cee09a..3a3d0d50dc08748d1be1715e0e82205a4fec67d6 100644
--- a/ash/common/system/tray/tray_popup_item_container.cc
+++ b/ash/common/system/tray/tray_popup_item_container.cc
@@ -19,7 +19,7 @@ TrayPopupItemContainer::TrayPopupItemContainer(views::View* view,
layout->SetDefaultFlex(1);
SetLayoutManager(layout);
if (view->layer()) {
- SetPaintToLayer(true);
+ SetPaintToLayer();
layer()->SetFillsBoundsOpaquely(view->layer()->fills_bounds_opaquely());
}
AddChildView(view);

Powered by Google App Engine
This is Rietveld 408576698