Index: ash/wm/root_window_event_filter_unittest.cc |
diff --git a/ash/wm/root_window_event_filter_unittest.cc b/ash/wm/root_window_event_filter_unittest.cc |
index c4e41bdaada1c79be21c21ee3033782be775c5f0..94ff9f7d7144ebb6615f503ae16d5cb3f8cd4531 100644 |
--- a/ash/wm/root_window_event_filter_unittest.cc |
+++ b/ash/wm/root_window_event_filter_unittest.cc |
@@ -351,6 +351,9 @@ TEST_F(RootWindowEventFilterTest, ActivateOnTouch) { |
TEST_F(RootWindowEventFilterTest, MouseEventCursors) { |
aura::RootWindow* root_window = Shell::GetRootWindow(); |
+ // Disable ash grid so that test can place a window at |
+ // specific location. |
+ ash::Shell::GetInstance()->DisableWorkspaceGridLayout(); |
// Create a window. |
const int kWindowLeft = 123; |
@@ -414,6 +417,10 @@ TEST_F(RootWindowEventFilterTest, MouseEventCursors) { |
} |
TEST_F(RootWindowEventFilterTest, TransformActivate) { |
+ // Disable ash grid so that test can place a window at |
+ // specific location. |
+ ash::Shell::GetInstance()->DisableWorkspaceGridLayout(); |
+ |
aura::RootWindow* root_window = Shell::GetRootWindow(); |
gfx::Size size = root_window->GetHostSize(); |
EXPECT_EQ(gfx::Rect(size), |