Index: Source/WebCore/svg/animation/SVGSMILElement.cpp |
=================================================================== |
--- Source/WebCore/svg/animation/SVGSMILElement.cpp (revision 123506) |
+++ Source/WebCore/svg/animation/SVGSMILElement.cpp (working copy) |
@@ -1045,7 +1045,11 @@ |
// This call may obtain a new interval -- never call calculateAnimationPercentAndRepeat() before! |
if (seekToTime) { |
seekToIntervalCorrespondingToTime(elapsed); |
- ASSERT(elapsed >= m_intervalBegin); |
+ if (elapsed < m_intervalBegin) { |
+ // elapsed is not within an interval. |
+ m_nextProgressTime = m_intervalBegin; |
+ return false; |
+ } |
} |
unsigned repeat = 0; |