Index: ui/events/gestures/gesture_provider_aura.cc |
diff --git a/ui/events/gestures/gesture_provider_aura.cc b/ui/events/gestures/gesture_provider_aura.cc |
index 739d1df0677e3ad58028ba59254a036f60b115e6..57530fd611c1804ff846fdd5bde18b8a32899c48 100644 |
--- a/ui/events/gestures/gesture_provider_aura.cc |
+++ b/ui/events/gestures/gesture_provider_aura.cc |
@@ -52,9 +52,8 @@ void GestureProviderAura::OnTouchEventAck(uint32_t unique_event_id, |
void GestureProviderAura::OnGestureEvent( |
const GestureEventData& gesture) { |
- std::unique_ptr<ui::GestureEvent> event( |
- new ui::GestureEvent(gesture.x, gesture.y, gesture.flags, |
- gesture.time - base::TimeTicks(), gesture.details)); |
+ std::unique_ptr<ui::GestureEvent> event(new ui::GestureEvent( |
+ gesture.x, gesture.y, gesture.flags, gesture.time, gesture.details)); |
if (!handling_event_) { |
// Dispatching event caused by timer. |