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

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

Issue 2525113002: Rename WindowTreeHost functions to indicate pixels/dips. (Closed)
Patch Set: DIP + rebase 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_ozone.cc
diff --git a/ui/aura/test/ui_controls_factory_ozone.cc b/ui/aura/test/ui_controls_factory_ozone.cc
index 30f6bae8db0386384fb250cae1191f935a48c356..72c97fa2be460c5c07b3c80a3eda240d98448018 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_->ConvertPointFromDIPToHost(&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_->ConvertPointFromDIPToHost(&host_location);
int flag = 0;

Powered by Google App Engine
This is Rietveld 408576698