Index: content/test/web_gesture_curve_mock.cc |
diff --git a/content/test/web_gesture_curve_mock.cc b/content/test/web_gesture_curve_mock.cc |
index 1007b7ef401d7970f66775da9f20b2742ba161ba..f60733c2b06468462fdb6cbf1be6e32e81afcc70 100644 |
--- a/content/test/web_gesture_curve_mock.cc |
+++ b/content/test/web_gesture_curve_mock.cc |
@@ -23,9 +23,10 @@ |
blink::WebFloatSize increment(displacement.width - cumulative_scroll_.width, |
displacement.height - cumulative_scroll_.height); |
cumulative_scroll_ = displacement; |
- blink::WebFloatSize velocity(velocity_.x, velocity_.y); |
+ target->notifyCurrentFlingVelocity(blink::WebFloatSize(velocity_.x, |
+ velocity_.y)); |
// scrollBy() could delete this curve if the animation is over, so don't |
// touch any member variables after making that call. |
- target->scrollBy(increment, velocity); |
+ target->scrollBy(increment); |
return true; |
} |