Index: ash/wm/ash_native_cursor_manager_interactive_uitest.cc |
diff --git a/ash/wm/ash_native_cursor_manager_interactive_uitest.cc b/ash/wm/ash_native_cursor_manager_interactive_uitest.cc |
index 83df158964464be84e5c6cc8d9a7d1019508f9f9..5eee024bc47989352bf854ca777ea90e28f96581 100644 |
--- a/ash/wm/ash_native_cursor_manager_interactive_uitest.cc |
+++ b/ash/wm/ash_native_cursor_manager_interactive_uitest.cc |
@@ -102,10 +102,10 @@ |
display_manager->OnNativeDisplaysChanged(display_info_list); |
MoveMouseSync(Shell::GetAllRootWindows()[0], 10, 10); |
- EXPECT_EQ(1.0f, test_api.GetCurrentCursor().device_scale_factor()); |
+ EXPECT_EQ(1.0f, test_api.GetDisplay().device_scale_factor()); |
MoveMouseSync(Shell::GetAllRootWindows()[0], 600, 10); |
- EXPECT_EQ(2.0f, test_api.GetCurrentCursor().device_scale_factor()); |
+ EXPECT_EQ(2.0f, test_api.GetDisplay().device_scale_factor()); |
} |
} // namespace ash |