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

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

Issue 2525113002: Rename WindowTreeHost functions to indicate pixels/dips. (Closed)
Patch Set: win 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
« no previous file with comments | « ui/aura/test/ui_controls_factory_aurax11.cc ('k') | ui/aura/test/x11_event_sender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/ui_controls_factory_ozone.cc
diff --git a/ui/aura/test/ui_controls_factory_ozone.cc b/ui/aura/test/ui_controls_factory_ozone.cc
index 30f6bae8db0386384fb250cae1191f935a48c356..6eb27bd9e76e23a3f67eec27c65e7daa248541fa 100644
--- a/ui/aura/test/ui_controls_factory_ozone.cc
+++ b/ui/aura/test/ui_controls_factory_ozone.cc
@@ -107,7 +107,7 @@ class UIControlsOzone : public ui_controls::UIControlsAura {
}
gfx::Point host_location = root_location;
- host_->ConvertPointToHost(&host_location);
+ host_->ConvertDIPToPixels(&host_location);
ui::EventType event_type;
@@ -137,7 +137,7 @@ class UIControlsOzone : public ui_controls::UIControlsAura {
}
gfx::Point host_location = root_location;
- host_->ConvertPointToHost(&host_location);
+ host_->ConvertDIPToPixels(&host_location);
int flag = 0;
« no previous file with comments | « ui/aura/test/ui_controls_factory_aurax11.cc ('k') | ui/aura/test/x11_event_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698