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

Unified Diff: ui/aura/test/ui_controls_factory_aurax11.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/ui_controls_factory_aurax11.cc
diff --git a/ui/aura/test/ui_controls_factory_aurax11.cc b/ui/aura/test/ui_controls_factory_aurax11.cc
index 78f740e862133331315f376fd11ba21d87744215..4c7fc3c4be6faf7079532a2dc4266e996a56c60e 100644
--- a/ui/aura/test/ui_controls_factory_aurax11.cc
+++ b/ui/aura/test/ui_controls_factory_aurax11.cc
@@ -114,7 +114,7 @@ class UIControlsX11 : public UIControlsAura {
}
gfx::Point root_current_location =
QueryLatestMousePositionRequestInHost(host_);
- host_->ConvertPointFromHost(&root_current_location);
+ host_->ConvertPointFromHostToDIP(&root_current_location);
if (root_location != root_current_location && button_down_mask == 0) {
// Move the cursor because EnterNotify/LeaveNotify are generated with the

Powered by Google App Engine
This is Rietveld 408576698