| Index: content/browser/renderer_host/render_widget_host_input_event_router.cc
|
| diff --git a/content/browser/renderer_host/render_widget_host_input_event_router.cc b/content/browser/renderer_host/render_widget_host_input_event_router.cc
|
| index f5553526d6c6834dbf18559dc4fd621d31a326c5..48cced47442e71a93c9f8a0583c511944105d55f 100644
|
| --- a/content/browser/renderer_host/render_widget_host_input_event_router.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_input_event_router.cc
|
| @@ -727,7 +727,8 @@ void RenderWidgetHostInputEventRouter::RouteTouchscreenGestureEvent(
|
| // send a GestureScrollBegin, as by the time we see GesturePinchBegin there
|
| // should have been one.
|
| if (root_view != touchscreen_gesture_target_.target &&
|
| - !rwhi->is_in_touchscreen_gesture_scroll()) {
|
| + !rwhi->IsInGestureScroll(
|
| + blink::WebGestureDevice::kWebGestureDeviceTouchscreen)) {
|
| gesture_pinch_did_send_scroll_begin_ = true;
|
| SendGestureScrollBegin(root_view, *event);
|
| }
|
| @@ -743,7 +744,8 @@ void RenderWidgetHostInputEventRouter::RouteTouchscreenGestureEvent(
|
| static_cast<RenderWidgetHostImpl*>(root_view->GetRenderWidgetHost());
|
| if (root_view != touchscreen_gesture_target_.target &&
|
| gesture_pinch_did_send_scroll_begin_ &&
|
| - rwhi->is_in_touchscreen_gesture_scroll()) {
|
| + rwhi->IsInGestureScroll(
|
| + blink::WebGestureDevice::kWebGestureDeviceTouchscreen)) {
|
| SendGestureScrollEnd(root_view, *event);
|
| }
|
| gesture_pinch_did_send_scroll_begin_ = false;
|
|
|