Index: ash/wm/immersive_fullscreen_controller_unittest.cc |
diff --git a/ash/wm/immersive_fullscreen_controller_unittest.cc b/ash/wm/immersive_fullscreen_controller_unittest.cc |
index 96391a1c4653967fae5175237be63a60d275ed9d..8868689222224941ac2473dbe07279291d4a7cdc 100644 |
--- a/ash/wm/immersive_fullscreen_controller_unittest.cc |
+++ b/ash/wm/immersive_fullscreen_controller_unittest.cc |
@@ -544,10 +544,9 @@ TEST_F(ImmersiveFullscreenControllerTest, MouseEventsVerticalDisplayLayout) { |
EXPECT_TRUE(top_edge_hover_timer_running()); |
// TODO(oshima): Provide a test API to handle mouse warp more easily. |
- if (!MouseCursorEventFilter::IsMouseWarpInNativeCoordsEnabled()) { |
- EXPECT_NE(y_top_edge, |
- aura::Env::GetInstance()->last_mouse_location().y()); |
- } |
+#if defined(USE_OZONE) |
+ EXPECT_NE(y_top_edge, aura::Env::GetInstance()->last_mouse_location().y()); |
+#endif |
// The timer should continue running if the user overshoots the top edge |
// a bit. |