Index: ash/display/unified_mouse_warp_controller_unittest.cc |
diff --git a/ash/display/unified_mouse_warp_controller_unittest.cc b/ash/display/unified_mouse_warp_controller_unittest.cc |
index 6aacdf74ac6a26789d2ea9874e38fd16272b1430..739ced4351edbc45cb580a62287548109f39bb15 100644 |
--- a/ash/display/unified_mouse_warp_controller_unittest.cc |
+++ b/ash/display/unified_mouse_warp_controller_unittest.cc |
@@ -53,7 +53,7 @@ class UnifiedMouseWarpControllerTest : public test::AshTestBase { |
->window_tree_host_manager() |
->mirror_window_controller() |
->GetAshWindowTreeHostForDisplayId(info.id()); |
- ash_host->AsWindowTreeHost()->ConvertPointFromHost( |
+ ash_host->AsWindowTreeHost()->ConvertPointFromHostToDIP( |
point_in_unified_host); |
return true; |
} |
@@ -87,7 +87,7 @@ class UnifiedMouseWarpControllerTest : public test::AshTestBase { |
gfx::Point new_location_in_unified_host = |
aura::Env::GetInstance()->last_mouse_location(); |
// Convert screen to the host. |
- root->GetHost()->ConvertPointToHost(&new_location_in_unified_host); |
+ root->GetHost()->ConvertPointFromDIPToHost(&new_location_in_unified_host); |
int new_index = display::FindDisplayIndexContainingPoint( |
display_manager()->software_mirroring_display_list(), |