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

Unified Diff: ui/views/test/ui_controls_factory_desktop_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/views/test/ui_controls_factory_desktop_aurax11.cc
diff --git a/ui/views/test/ui_controls_factory_desktop_aurax11.cc b/ui/views/test/ui_controls_factory_desktop_aurax11.cc
index 2be0e63bc3b3b8e3315f093f67d431e05c3adf63..a64045ca8adb3024569697bee873a532b9013f88 100644
--- a/ui/views/test/ui_controls_factory_desktop_aurax11.cc
+++ b/ui/views/test/ui_controls_factory_desktop_aurax11.cc
@@ -144,7 +144,7 @@ class UIControlsDesktopX11 : public UIControlsAura {
aura::WindowTreeHost* host = root_window->GetHost();
gfx::Point root_current_location =
aura::test::QueryLatestMousePositionRequestInHost(host);
- host->ConvertPointFromHost(&root_current_location);
+ host->ConvertPointFromHostToDIP(&root_current_location);
auto screen = views::test::TestDesktopScreenX11::GetInstance();
DCHECK_EQ(screen, display::Screen::GetScreen());

Powered by Google App Engine
This is Rietveld 408576698