Index: ui/base/gestures/gesture_point.cc |
diff --git a/ui/base/gestures/gesture_point.cc b/ui/base/gestures/gesture_point.cc |
index fc94f72838fd34bd241d984772b0ea4b90dfa471..a9426d258ff7af7e4b02b0094d2b7c92e4954495 100644 |
--- a/ui/base/gestures/gesture_point.cc |
+++ b/ui/base/gestures/gesture_point.cc |
@@ -30,6 +30,10 @@ void GesturePoint::Reset() { |
point_id_ = -1; |
} |
+void GesturePoint::ResetVelocity() { |
+ velocity_calculator_.ClearHistory(); |
+} |
+ |
void GesturePoint::UpdateValues(const TouchEvent& event) { |
const int64 event_timestamp_microseconds = |
event.GetTimestamp().InMicroseconds(); |