Index: content/browser/renderer_host/overscroll_controller.cc |
diff --git a/content/browser/renderer_host/overscroll_controller.cc b/content/browser/renderer_host/overscroll_controller.cc |
index feb4247436317fd41b219209a1173f2c3544543b..dceefa4afe49c70fcf32780aa26621e0d68f0a69 100644 |
--- a/content/browser/renderer_host/overscroll_controller.cc |
+++ b/content/browser/renderer_host/overscroll_controller.cc |
@@ -171,8 +171,10 @@ void OverscrollController::ProcessEventForOverscroll( |
case WebKit::WebInputEvent::MouseWheel: { |
const WebKit::WebMouseWheelEvent& wheel = |
static_cast<const WebKit::WebMouseWheelEvent&>(event); |
- if (wheel.hasPreciseScrollingDeltas) |
- ProcessOverscroll(wheel.deltaX, wheel.deltaY); |
+ if (wheel.hasPreciseScrollingDeltas) { |
+ ProcessOverscroll(wheel.deltaX * wheel.accelerationRatioX, |
+ wheel.deltaY * wheel.accelerationRatioY); |
+ } |
break; |
} |
case WebKit::WebInputEvent::GestureScrollUpdate: { |