| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index ffd19244abf24012cd775ab207b135820ee995a0..cf570ed7403d64918c236a195fe27ed68108fc9a 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -624,7 +624,8 @@ bool WebViewImpl::scrollBy(const WebFloatSize& delta, const WebFloatSize& veloci
|
| } else {
|
| WebGestureEvent syntheticGestureEvent;
|
|
|
| - syntheticGestureEvent.type = WebInputEvent::GestureScrollUpdateWithoutPropagation;
|
| + syntheticGestureEvent.type = WebInputEvent::GestureScrollUpdate;
|
| + syntheticGestureEvent.data.scrollUpdate.preventPropagation = true;
|
| syntheticGestureEvent.data.scrollUpdate.deltaX = delta.width;
|
| syntheticGestureEvent.data.scrollUpdate.deltaY = delta.height;
|
| syntheticGestureEvent.x = m_positionOnFlingStart.x;
|
| @@ -1855,7 +1856,7 @@ void WebViewImpl::beginFrame(const WebBeginFrameArgs& frameTime)
|
| PlatformGestureEvent endScrollEvent(PlatformEvent::GestureScrollEnd,
|
| m_positionOnFlingStart, m_globalPositionOnFlingStart,
|
| IntSize(), 0, false, false, false, false,
|
| - 0, 0, 0, 0);
|
| + 0, 0, 0, 0, false);
|
|
|
| mainFrameImpl()->frame()->eventHandler().handleGestureScrollEnd(endScrollEvent);
|
| }
|
|
|