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 9c42e638d569ea0a87acd48a292d12d042912239..872f1ef99efef181f8ad7390c72567064670ca85 100644 |
--- a/content/child/touch_fling_gesture_curve_unittest.cc |
+++ b/content/child/touch_fling_gesture_curve_unittest.cc |
@@ -24,12 +24,13 @@ |
class MockGestureCurveTarget : public WebGestureCurveTarget { |
public: |
- virtual bool scrollBy(const WebFloatSize& delta, |
- const WebFloatSize& velocity) OVERRIDE { |
+ virtual void scrollBy(const WebFloatSize& delta) { |
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_; } |