Index: content/child/touch_fling_gesture_curve.cc |
diff --git a/content/child/touch_fling_gesture_curve.cc b/content/child/touch_fling_gesture_curve.cc |
index a05292f8025e1c770398f1f26ae5a95a078ae2a9..43cbd5ba7e607d8702ea5b5c68f628ec296b5600 100644 |
--- a/content/child/touch_fling_gesture_curve.cc |
+++ b/content/child/touch_fling_gesture_curve.cc |
@@ -150,9 +150,11 @@ |
if (time + time_offset_ < curve_duration_ || |
scroll_increment != WebFloatSize()) { |
+ target->notifyCurrentFlingVelocity(scroll_velocity); |
// scrollBy() could delete this curve if the animation is over, so don't |
// touch any member variables after making that call. |
- return target->scrollBy(scroll_increment, scroll_velocity); |
+ target->scrollBy(scroll_increment); |
+ return true; |
} |
return false; |