Index: ui/aura/test/x11_event_sender.cc |
diff --git a/ui/aura/test/x11_event_sender.cc b/ui/aura/test/x11_event_sender.cc |
index bc58502d18a91c2c0c051b7dc5c0807ef3f5c70c..0eb402141e74b24f08cbc3ec499e5ea78b5e45af 100644 |
--- a/ui/aura/test/x11_event_sender.cc |
+++ b/ui/aura/test/x11_event_sender.cc |
@@ -34,7 +34,7 @@ void PostEventToWindowTreeHost(const XEvent& xevent, WindowTreeHost* host) { |
event.xmotion.time = CurrentTime; |
gfx::Point point(event.xmotion.x, event.xmotion.y); |
- host->ConvertPointToNativeScreen(&point); |
+ host->ConvertDIPToScreenInPixels(&point); |
event.xmotion.x_root = point.x(); |
event.xmotion.y_root = point.y(); |
} |