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..8e8ab62a0a01ade589e037b04b0fc6a383a09353 100644 |
--- a/ash/common/system/tray/tray_item_view.cc |
+++ b/ash/common/system/tray/tray_item_view.cc |
@@ -11,6 +11,7 @@ |
#include "ash/common/system/tray/tray_constants.h" |
#include "ash/public/cpp/shelf_types.h" |
#include "ui/compositor/layer.h" |
+#include "ui/compositor/layer_type.h" |
#include "ui/gfx/animation/slide_animation.h" |
#include "ui/views/controls/image_view.h" |
#include "ui/views/controls/label.h" |
@@ -30,7 +31,7 @@ namespace ash { |
TrayItemView::TrayItemView(SystemTrayItem* owner) |
: owner_(owner), label_(NULL), image_view_(NULL) { |
- SetPaintToLayer(true); |
+ SetPaintToLayer(ui::LAYER_TEXTURED); |
layer()->SetFillsBoundsOpaquely(false); |
SetLayoutManager(new views::FillLayout()); |
} |