| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index f3c093c2a37dbe3811c44b3143fb8eb487cd7611..6fe8e3d36b3842d196ba75eb906dd4ae79dfc285 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -632,7 +632,7 @@ bool WebViewImpl::handleGestureEvent(const WebGestureEvent& event)
|
| m_globalPositionOnFlingStart = WebPoint(event.globalX, event.globalY);
|
| m_flingModifier = event.modifiers;
|
| m_flingSourceDevice = event.sourceDevice;
|
| - OwnPtr<WebGestureCurve> flingCurve = adoptPtr(Platform::current()->createFlingAnimationCurve(static_cast<WebGestureDevice>(event.sourceDevice), WebFloatPoint(event.data.flingStart.velocityX, event.data.flingStart.velocityY), WebSize()));
|
| + OwnPtr<WebGestureCurve> flingCurve = adoptPtr(Platform::current()->createFlingAnimationCurve(event.sourceDevice, WebFloatPoint(event.data.flingStart.velocityX, event.data.flingStart.velocityY), WebSize()));
|
| ASSERT(flingCurve);
|
| m_gestureAnimation = WebActiveGestureAnimation::createAtAnimationStart(flingCurve.release(), this);
|
| scheduleAnimation();
|
| @@ -780,7 +780,7 @@ void WebViewImpl::transferActiveWheelFlingAnimation(const WebActiveWheelFlingPar
|
| m_positionOnFlingStart = parameters.point;
|
| m_globalPositionOnFlingStart = parameters.globalPoint;
|
| m_flingModifier = parameters.modifiers;
|
| - OwnPtr<WebGestureCurve> curve = adoptPtr(Platform::current()->createFlingAnimationCurve(static_cast<WebGestureDevice>(parameters.sourceDevice), WebFloatPoint(parameters.delta), parameters.cumulativeScroll));
|
| + OwnPtr<WebGestureCurve> curve = adoptPtr(Platform::current()->createFlingAnimationCurve(parameters.sourceDevice, WebFloatPoint(parameters.delta), parameters.cumulativeScroll));
|
| ASSERT(curve);
|
| m_gestureAnimation = WebActiveGestureAnimation::createWithTimeOffset(curve.release(), this, parameters.startTime);
|
| scheduleAnimation();
|
|
|