Index: ash/common/system/web_notification/web_notification_tray.cc |
diff --git a/ash/common/system/web_notification/web_notification_tray.cc b/ash/common/system/web_notification/web_notification_tray.cc |
index 0cbd26d5899eb95ff4b9eb327855071e71670a80..c6965dfd9632629fa0309c67616ca65e5aa4df6a 100644 |
--- a/ash/common/system/web_notification/web_notification_tray.cc |
+++ b/ash/common/system/web_notification/web_notification_tray.cc |
@@ -29,6 +29,7 @@ |
#include "base/threading/thread_task_runner_handle.h" |
#include "grit/ash_strings.h" |
#include "ui/base/l10n/l10n_util.h" |
+#include "ui/compositor/layer_type.h" |
#include "ui/display/display.h" |
#include "ui/display/screen.h" |
#include "ui/gfx/paint_vector_icon.h" |
@@ -124,7 +125,7 @@ class WebNotificationItem : public views::View, public gfx::AnimationDelegate { |
WebNotificationItem(gfx::AnimationContainer* container, |
WebNotificationTray* tray) |
: tray_(tray) { |
- SetPaintToLayer(true); |
+ SetPaintToLayer(ui::LAYER_TEXTURED); |
layer()->SetFillsBoundsOpaquely(false); |
views::View::SetVisible(false); |
set_owned_by_client(); |