Index: Source/core/animation/InertAnimation.cpp |
diff --git a/Source/core/animation/InertAnimation.cpp b/Source/core/animation/InertAnimation.cpp |
index a82b6ca656f3a5b1bd2cd9d43cb73e1278dbbc8e..2c6e823b34601785d3bca3db82e1c80059610e2b 100644 |
--- a/Source/core/animation/InertAnimation.cpp |
+++ b/Source/core/animation/InertAnimation.cpp |
@@ -55,7 +55,7 @@ PassOwnPtr<Vector<RefPtr<Interpolation> > > InertAnimation::sample() |
double iteration = currentIteration(); |
ASSERT(iteration >= 0); |
// FIXME: Handle iteration values which overflow int. |
- return m_effect->sample(static_cast<int>(iteration), timeFraction()); |
+ return m_effect->sample(static_cast<int>(iteration), timeFraction(), duration()); |
} |