Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: ui/aura/test/x11_event_sender.cc

Issue 2525113002: Rename WindowTreeHost functions to indicate pixels/dips. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..c308fb312a0600f7eebec3323492a39400575186 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->ConvertPointFromDIPToNativeScreen(&point);
event.xmotion.x_root = point.x();
event.xmotion.y_root = point.y();
}

Powered by Google App Engine
This is Rietveld 408576698