https://bugs.webkit.org/show_bug.cgi?id=80858
Patch by Robert Kroeger <rjkroege@chromium.org> on 2012-03-16
Reviewed by Adam Barth.
* platform/ScrollAnimatorNone.cpp:
(WebCore::ScrollAnimatorNone::fireUpAnAnimation):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@110978
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-03-16 Robert Kroeger <rjkroege@chromium.org>
+
+ Connect up fling event delivery to gesture curve animation framework
+ https://bugs.webkit.org/show_bug.cgi?id=80858
+
+ Reviewed by Adam Barth.
+
+ * platform/ScrollAnimatorNone.cpp:
+ (WebCore::ScrollAnimatorNone::fireUpAnAnimation):
+
2012-03-16 Nate Chapin <japhet@chromium.org>
Remove duplicate error() impls in CachedResource subclasses
void ScrollAnimatorNone::fireUpAnAnimation(FloatPoint fp)
{
- UNUSED_PARAM(fp);
+ if (m_gestureAnimation)
+ m_gestureAnimation.clear();
+ m_gestureAnimation = ActivePlatformGestureAnimation::create(TouchFlingPlatformGestureCurve::create(fp), this);
+ startNextTimer();
}
bool ScrollAnimatorNone::scroll(ScrollbarOrientation orientation, ScrollGranularity granularity, float step, float multiplier)