Index: ash/system/web_notification/web_notification_tray_unittest.cc |
diff --git a/ash/system/web_notification/web_notification_tray_unittest.cc b/ash/system/web_notification/web_notification_tray_unittest.cc |
index c02a0ae345ac387960c43815cf42c5f1dc65d2bf..c6604e9d61a7b9eb10a4be8afe0144ccf18165fb 100644 |
--- a/ash/system/web_notification/web_notification_tray_unittest.cc |
+++ b/ash/system/web_notification/web_notification_tray_unittest.cc |
@@ -14,6 +14,7 @@ |
#include "ash/system/status_area_widget.h" |
#include "ash/system/tray/system_tray.h" |
#include "ash/system/tray/system_tray_item.h" |
+#include "ash/system/tray/tray_background_view.h" |
#include "ash/test/ash_test_base.h" |
#include "ash/test/status_area_widget_test_helper.h" |
#include "ash/test/test_system_tray_delegate.h" |
@@ -90,6 +91,11 @@ class WebNotificationTrayTest : public test::AshTestBase { |
WebNotificationTrayTest() {} |
virtual ~WebNotificationTrayTest() {} |
+ virtual void SetUp() OVERRIDE { |
+ TrayBackgroundView::DisableAnimationsForTest(); |
+ test::AshTestBase::SetUp(); |
+ } |
+ |
virtual void TearDown() OVERRIDE { |
GetMessageCenter()->RemoveAllNotifications(false); |
test::AshTestBase::TearDown(); |