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