REGRESSION (r110737): Height element changes on scrolled page causes failure
[WebKit-https.git] / Source / WebCore / platform / mac / ScrollAnimatorMac.mm
index 78b71b0..880d6f5 100644 (file)
@@ -645,6 +645,15 @@ void ScrollAnimatorMac::immediateScrollTo(const FloatPoint& newPosition)
     notifyPositionChanged();
 }
 
+bool ScrollAnimatorMac::isRubberBandInProgress() const
+{
+#if !ENABLE(RUBBER_BANDING)
+    return false;
+#else
+    return m_scrollElasticityController.isRubberBandInProgress();
+#endif
+}
+
 void ScrollAnimatorMac::immediateScrollToPointForScrollAnimation(const FloatPoint& newPosition)
 {
     ASSERT(m_scrollAnimationHelper);