Index: content/renderer/input/input_handler_proxy.cc |
diff --git a/content/renderer/input/input_handler_proxy.cc b/content/renderer/input/input_handler_proxy.cc |
index 0d4b17320a1986903d7c6942d404731474f9c534..365722c3904b1048e03ec730bae4fe4c9e3cbf70 100644 |
--- a/content/renderer/input/input_handler_proxy.cc |
+++ b/content/renderer/input/input_handler_proxy.cc |
@@ -535,6 +535,9 @@ bool InputHandlerProxy::FilterInputEventForFlingBoosting( |
const WebGestureEvent& gesture_event = |
static_cast<const WebGestureEvent&>(event); |
if (gesture_event.type == WebInputEvent::GestureFlingCancel) { |
+ if (gesture_event.data.flingCancel.preventBoosting) |
+ return false; |
+ |
if (current_fling_velocity_.LengthSquared() < kMinBoostFlingSpeedSquare) |
return false; |