Request content repaints during APZ wheel animations. (bug 1152138, r=botond)

This commit is contained in:
David Anderson 2015-04-07 18:14:40 -07:00
parent e536cbf99d
commit 7e64d3063f

View File

@ -10,7 +10,8 @@ namespace mozilla {
namespace layers {
WheelScrollAnimation::WheelScrollAnimation(AsyncPanZoomController& aApzc, const nsPoint& aInitialPosition)
: AsyncScrollBase(aInitialPosition)
: AsyncPanZoomAnimation(TimeDuration::FromMilliseconds(gfxPrefs::APZSmoothScrollRepaintInterval()))
, AsyncScrollBase(aInitialPosition)
, mApzc(aApzc)
, mFinalDestination(aInitialPosition)
{