Index: Source/core/animation/Animation.cpp |
diff --git a/Source/core/animation/Animation.cpp b/Source/core/animation/Animation.cpp |
index 0de2ba0cda58c67848a765718758ffd935f23558..3f2cfc615780fa73483da70f27b80a2f6b9ad8be 100644 |
--- a/Source/core/animation/Animation.cpp |
+++ b/Source/core/animation/Animation.cpp |
@@ -123,7 +123,7 @@ void Animation::applyEffects(bool previouslyInEffect) |
double iteration = currentIteration(); |
ASSERT(iteration >= 0); |
// FIXME: Handle iteration values which overflow int. |
- m_activeInterpolations = m_effect->sample(static_cast<int>(iteration), timeFraction()); |
+ m_activeInterpolations = m_effect->sample(static_cast<int>(iteration), timeFraction(), duration()); |
if (player()) |
m_target->setNeedsAnimationStyleRecalc(); |
} |