Index: Source/core/svg/animation/SVGSMILElement.cpp |
diff --git a/Source/core/svg/animation/SVGSMILElement.cpp b/Source/core/svg/animation/SVGSMILElement.cpp |
index a97bc50d29b62d72b57d37142800813dfc989bbc..6c217d61391697e430a8ef36eebbd47fee8b3c45 100644 |
--- a/Source/core/svg/animation/SVGSMILElement.cpp |
+++ b/Source/core/svg/animation/SVGSMILElement.cpp |
@@ -932,14 +932,13 @@ void SVGSMILElement::resolveInterval(bool first, SMILTime& beginResult, SMILTime |
void SVGSMILElement::resolveFirstInterval() |
{ |
- SMILTime begin; |
- SMILTime end; |
- resolveInterval(true, begin, end); |
- ASSERT(!begin.isIndefinite()); |
+ SMILInterval firstInterval; |
+ resolveInterval(true, firstInterval.begin, firstInterval.end); |
+ ASSERT(!firstInterval.begin.isIndefinite()); |
- if (!begin.isUnresolved() && (begin != m_intervalBegin || end != m_intervalEnd)) { |
- m_intervalBegin = begin; |
- m_intervalEnd = end; |
+ if (!firstInterval.begin.isUnresolved() && firstInterval != SMILInterval(m_intervalBegin, m_intervalEnd)) { |
+ m_intervalBegin = firstInterval.begin; |
+ m_intervalEnd = firstInterval.end; |
notifyDependentsIntervalChanged(); |
m_nextProgressTime = min(m_nextProgressTime, m_intervalBegin); |