Index: ui/views/test/ui_controls_factory_desktop_aurax11.cc |
diff --git a/ui/views/test/ui_controls_factory_desktop_aurax11.cc b/ui/views/test/ui_controls_factory_desktop_aurax11.cc |
index 2be0e63bc3b3b8e3315f093f67d431e05c3adf63..d7b41b1501dde8e15069f2bb49b34822aa683a31 100644 |
--- a/ui/views/test/ui_controls_factory_desktop_aurax11.cc |
+++ b/ui/views/test/ui_controls_factory_desktop_aurax11.cc |
@@ -144,7 +144,7 @@ class UIControlsDesktopX11 : public UIControlsAura { |
aura::WindowTreeHost* host = root_window->GetHost(); |
gfx::Point root_current_location = |
aura::test::QueryLatestMousePositionRequestInHost(host); |
- host->ConvertPointFromHost(&root_current_location); |
+ host->ConvertPixelsToDIP(&root_current_location); |
auto screen = views::test::TestDesktopScreenX11::GetInstance(); |
DCHECK_EQ(screen, display::Screen::GetScreen()); |