Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Unified Diff: Source/core/svg/animation/SMILTimeContainer.cpp

Issue 19798009: Introduce toSVGSMILElement, and use it (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGAElement.cpp ('k') | Source/core/svg/animation/SVGSMILElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « Source/core/svg/SVGAElement.cpp ('k') | Source/core/svg/animation/SVGSMILElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698