| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index 1a4e1347d9ad6369c6192253ed2a42b385cbc654..dcf008950c78c2c71e1e6a79a562371bb2888d76 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -583,7 +583,7 @@ bool WebViewImpl::handleMouseWheel(LocalFrame& mainFrame, const WebMouseWheelEve
|
|
|
| bool WebViewImpl::scrollBy(const WebFloatSize& delta, const WebFloatSize& velocity)
|
| {
|
| - if (m_flingSourceDevice == WebGestureEvent::Touchpad) {
|
| + if (m_flingSourceDevice == WebGestureDeviceTouchpad) {
|
| WebMouseWheelEvent syntheticWheel;
|
| const float tickDivisor = WebCore::WheelEvent::TickMultiplier;
|
|
|
| @@ -611,7 +611,7 @@ bool WebViewImpl::scrollBy(const WebFloatSize& delta, const WebFloatSize& veloci
|
| syntheticGestureEvent.globalX = m_globalPositionOnFlingStart.x;
|
| syntheticGestureEvent.globalY = m_globalPositionOnFlingStart.y;
|
| syntheticGestureEvent.modifiers = m_flingModifier;
|
| - syntheticGestureEvent.sourceDevice = WebGestureEvent::Touchscreen;
|
| + syntheticGestureEvent.sourceDevice = WebGestureDeviceTouchscreen;
|
|
|
| if (m_page && m_page->mainFrame() && m_page->mainFrame()->view())
|
| return handleGestureEvent(syntheticGestureEvent);
|
|
|