Index: Source/core/svg/animation/SMILTimeContainer.cpp |
diff --git a/Source/core/svg/animation/SMILTimeContainer.cpp b/Source/core/svg/animation/SMILTimeContainer.cpp |
index b29e12df75333d13f5ce94455af61e464abfa3ee..df9af259e30df5668a34b045a66038c382cb96cd 100644 |
--- a/Source/core/svg/animation/SMILTimeContainer.cpp |
+++ b/Source/core/svg/animation/SMILTimeContainer.cpp |
@@ -230,7 +230,7 @@ void SMILTimeContainer::updateDocumentOrderIndexes() |
unsigned timingElementCount = 0; |
for (Element* element = m_ownerSVGElement; element; element = ElementTraversal::next(element, m_ownerSVGElement)) { |
if (SVGSMILElement::isSMILElement(element)) |
- static_cast<SVGSMILElement*>(element)->setDocumentOrderIndex(timingElementCount++); |
+ toSVGSMILElement(element)->setDocumentOrderIndex(timingElementCount++); |
} |
m_documentOrderIndexesDirty = false; |
} |