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

Unified Diff: ui/events/gestures/motion_event_aura.cc

Issue 1423703002: Don't drop the floating point part of events when converting types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « ui/aura/window_targeter.cc ('k') | ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/gestures/motion_event_aura.cc
diff --git a/ui/events/gestures/motion_event_aura.cc b/ui/events/gestures/motion_event_aura.cc
index 54139e5590f7073297e808d6d0d9e7eec0a61cc5..6890753641195f22a7e0f07be2e0ac6c9cd4bcd0 100644
--- a/ui/events/gestures/motion_event_aura.cc
+++ b/ui/events/gestures/motion_event_aura.cc
@@ -54,7 +54,7 @@ bool MotionEventAura::OnTouch(const TouchEvent& touch) {
// crbug.com/446852 for details.
// Cancel the existing touch, before handling the touch press.
- TouchEvent cancel(ET_TOUCH_CANCELLED, touch.location(), touch.touch_id(),
+ TouchEvent cancel(ET_TOUCH_CANCELLED, touch.location_f(), touch.touch_id(),
touch.time_stamp());
OnTouch(cancel);
CleanupRemovedTouchPoints(cancel);
« no previous file with comments | « ui/aura/window_targeter.cc ('k') | ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698