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

Unified Diff: ui/views/test/ui_controls_factory_desktop_aurax11.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/views/mus/native_widget_mus.cc ('k') | ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..d7b41b1501dde8e15069f2bb49b34822aa683a31 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->ConvertPixelsToDIP(&root_current_location);
auto screen = views::test::TestDesktopScreenX11::GetInstance();
DCHECK_EQ(screen, display::Screen::GetScreen());
« no previous file with comments | « ui/views/mus/native_widget_mus.cc ('k') | ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698