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

Unified Diff: ui/aura/window_targeter.cc

Issue 1372253002: gfx: Make conversions from gfx::Point to PointF explicit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pointfconvert-gfx: . Created 5 years, 3 months 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/window_targeter.cc
diff --git a/ui/aura/window_targeter.cc b/ui/aura/window_targeter.cc
index 192bd600c76b411badfaaf6ce75b6d9cb739a0ba..df4e064ae8a2b2360025b70c35ffd875a8692e2c 100644
--- a/ui/aura/window_targeter.cc
+++ b/ui/aura/window_targeter.cc
@@ -152,9 +152,8 @@ Window* WindowTargeter::FindTargetInRootWindow(Window* root_window,
ui::GestureRecognizer::Get()->GetTouchLockedTarget(touch);
if (consumer)
return static_cast<Window*>(consumer);
- consumer =
- ui::GestureRecognizer::Get()->GetTargetForLocation(
- event.location(), touch.source_device_id());
+ consumer = ui::GestureRecognizer::Get()->GetTargetForLocation(
+ event.location_f(), touch.source_device_id());
if (consumer)
return static_cast<Window*>(consumer);

Powered by Google App Engine
This is Rietveld 408576698