Index: ash/wm/panels/panel_layout_manager_unittest.cc |
diff --git a/ash/wm/panels/panel_layout_manager_unittest.cc b/ash/wm/panels/panel_layout_manager_unittest.cc |
index 335985f9850785152f693bf89152520fbe9424e5..423664b8c9e2ac971e6283da45f14f0348b32dcb 100644 |
--- a/ash/wm/panels/panel_layout_manager_unittest.cc |
+++ b/ash/wm/panels/panel_layout_manager_unittest.cc |
@@ -11,6 +11,7 @@ |
#include "ash/common/shelf/shelf_types.h" |
#include "ash/common/shelf/shelf_view.h" |
#include "ash/common/shell_window_ids.h" |
+#include "ash/common/system/web_notification/web_notification_tray.h" |
#include "ash/common/wm/mru_window_tracker.h" |
#include "ash/common/wm/window_state.h" |
#include "ash/common/wm_shell.h" |
@@ -54,6 +55,14 @@ class PanelLayoutManagerTest : public test::AshTestBase { |
shelf_view_test_.reset( |
new test::ShelfViewTestAPI(GetShelfView(Shelf::ForPrimaryDisplay()))); |
shelf_view_test_->SetAnimationDuration(1); |
+ |
+ WebNotificationTray::DisableAnimationsForTest(true); |
+ } |
+ |
+ void TearDown() override { |
+ test::AshTestBase::TearDown(); |
+ |
+ WebNotificationTray::DisableAnimationsForTest(false); // Reenable animation |
} |
aura::Window* CreateNormalWindow(const gfx::Rect& bounds) { |