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

Unified Diff: ash/common/system/tray/tray_item_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_item_view.cc
diff --git a/ash/common/system/tray/tray_item_view.cc b/ash/common/system/tray/tray_item_view.cc
index a2cb5e7738484565a109fec87cd407555dbdcfd8..476bcff6cfea69d6305576309bcd1cbd5b8d80f4 100644
--- a/ash/common/system/tray/tray_item_view.cc
+++ b/ash/common/system/tray/tray_item_view.cc
@@ -30,7 +30,7 @@ namespace ash {
TrayItemView::TrayItemView(SystemTrayItem* owner)
: owner_(owner), label_(NULL), image_view_(NULL) {
- SetPaintToLayer(true);
+ SetPaintToLayer();
layer()->SetFillsBoundsOpaquely(false);
SetLayoutManager(new views::FillLayout());
}

Powered by Google App Engine
This is Rietveld 408576698