Index: Source/WebCore/svg/animation/SVGSMILElement.cpp |
=================================================================== |
--- Source/WebCore/svg/animation/SVGSMILElement.cpp (revision 132837) |
+++ Source/WebCore/svg/animation/SVGSMILElement.cpp (working copy) |
@@ -713,6 +713,7 @@ |
void SVGSMILElement::addBeginTime(SMILTime eventTime, SMILTime beginTime, SMILTimeWithOrigin::Origin origin) |
{ |
+ ASSERT(!isnan(beginTime.value())); |
m_beginTimes.append(SMILTimeWithOrigin(beginTime, origin)); |
sortTimeList(m_beginTimes); |
beginListChanged(eventTime); |
@@ -720,6 +721,7 @@ |
void SVGSMILElement::addEndTime(SMILTime eventTime, SMILTime endTime, SMILTimeWithOrigin::Origin origin) |
{ |
+ ASSERT(!isnan(endTime.value())); |
m_endTimes.append(SMILTimeWithOrigin(endTime, origin)); |
sortTimeList(m_endTimes); |
endListChanged(eventTime); |