Index: Source/core/svg/animation/SVGSMILElement.cpp |
diff --git a/Source/core/svg/animation/SVGSMILElement.cpp b/Source/core/svg/animation/SVGSMILElement.cpp |
index 6e5e819ecbbb9570157a8e8f93b9842361a34a3d..1142df3d684c3433ba5e37b6294c1681ec998fab 100644 |
--- a/Source/core/svg/animation/SVGSMILElement.cpp |
+++ b/Source/core/svg/animation/SVGSMILElement.cpp |
@@ -1099,7 +1099,7 @@ SMILTime SVGSMILElement::calculateNextProgressTime(SMILTime elapsed) const |
if (m_activeState == Active) { |
// If duration is indefinite the value does not actually change over time. Same is true for <set>. |
SMILTime simpleDuration = this->simpleDuration(); |
- if (simpleDuration.isIndefinite() || hasTagName(SVGNames::setTag)) { |
+ if (simpleDuration.isIndefinite() || isSVGSetElement(*this)) { |
SMILTime repeatingDurationEnd = m_intervalBegin + repeatingDuration(); |
// We are supposed to do freeze semantics when repeating ends, even if the element is still active. |
// Take care that we get a timer callback at that point. |