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

Unified Diff: ui/aura/test/event_generator_delegate_aura.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/event_generator_delegate_aura.cc
diff --git a/ui/aura/test/event_generator_delegate_aura.cc b/ui/aura/test/event_generator_delegate_aura.cc
index 30eb261d2cd66e2976719b29b6e0007a2f54ca33..da4026ea33ce43760c0806e1e1fc3f2a42a689bf 100644
--- a/ui/aura/test/event_generator_delegate_aura.cc
+++ b/ui/aura/test/event_generator_delegate_aura.cc
@@ -127,7 +127,7 @@ void EventGeneratorDelegateAura::ConvertPointFromHost(
const ui::EventTarget* hosted_target,
gfx::Point* point) const {
const Window* window = WindowFromTarget(hosted_target);
- window->GetHost()->ConvertPointFromHost(point);
+ window->GetHost()->ConvertPointFromHostToDIP(point);
}
void EventGeneratorDelegateAura::DispatchKeyEventToIME(ui::EventTarget* target,

Powered by Google App Engine
This is Rietveld 408576698