| Index: content/browser/android/content_view_core_impl.cc
|
| ===================================================================
|
| --- content/browser/android/content_view_core_impl.cc (revision 252975)
|
| +++ content/browser/android/content_view_core_impl.cc (working copy)
|
| @@ -1182,10 +1182,8 @@
|
| WebGestureEvent event = MakeGestureEvent(
|
| WebInputEvent::GestureFlingStart, time_ms, x, y);
|
|
|
| - // Velocity should not be scaled by DIP since that interacts poorly with the
|
| - // deceleration constants. The DIP scaling is done on the renderer.
|
| - event.data.flingStart.velocityX = vx;
|
| - event.data.flingStart.velocityY = vy;
|
| + event.data.flingStart.velocityX = vx / GetDpiScale();
|
| + event.data.flingStart.velocityY = vy / GetDpiScale();
|
|
|
| SendGestureEvent(event);
|
| }
|
|
|