| Index: content/child/touch_fling_gesture_curve_unittest.cc
|
| diff --git a/content/child/touch_fling_gesture_curve_unittest.cc b/content/child/touch_fling_gesture_curve_unittest.cc
|
| index 872f1ef99efef181f8ad7390c72567064670ca85..9c42e638d569ea0a87acd48a292d12d042912239 100644
|
| --- a/content/child/touch_fling_gesture_curve_unittest.cc
|
| +++ b/content/child/touch_fling_gesture_curve_unittest.cc
|
| @@ -24,13 +24,12 @@
|
|
|
| class MockGestureCurveTarget : public WebGestureCurveTarget {
|
| public:
|
| - virtual void scrollBy(const WebFloatSize& delta) {
|
| + virtual bool scrollBy(const WebFloatSize& delta,
|
| + const WebFloatSize& velocity) OVERRIDE {
|
| cumulative_delta_.width += delta.width;
|
| cumulative_delta_.height += delta.height;
|
| - }
|
| -
|
| - virtual void notifyCurrentFlingVelocity(const WebFloatSize& velocity) {
|
| current_velocity_ = velocity;
|
| + return true;
|
| }
|
|
|
| WebFloatSize cumulative_delta() const { return cumulative_delta_; }
|
|
|