Index: content/renderer/render_widget.cc |
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc |
index c512d41fce1f9ef2586cbe2d416d3b84e793210e..913d0b5259905a2d60bde18e99518392cc11fd83 100644 |
--- a/content/renderer/render_widget.cc |
+++ b/content/renderer/render_widget.cc |
@@ -2228,8 +2228,10 @@ void RenderWidget::didOverscroll( |
accumulatedRootOverScroll.width, accumulatedRootOverScroll.height); |
params.latest_overscroll_delta = |
gfx::Vector2dF(unusedDelta.width, unusedDelta.height); |
+ // TODO(sataya.m): don't negate velocity once http://crbug.com/499743 is |
+ // fixed. |
params.current_fling_velocity = |
- gfx::Vector2dF(velocity.width, velocity.height); |
+ gfx::Vector2dF(-velocity.width, -velocity.height); |
params.causal_event_viewport_point = gfx::PointF(position.x, position.y); |
Send(new InputHostMsg_DidOverscroll(routing_id_, params)); |
} |