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

Unified Diff: Source/core/svg/SVGMPathElement.cpp

Issue 133203003: Generate toSVGFooElement() for SVGFELight|AnimateMotion|FontFaceSrc|TextPositioningElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modified Created 6 years, 11 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
Index: Source/core/svg/SVGMPathElement.cpp
diff --git a/Source/core/svg/SVGMPathElement.cpp b/Source/core/svg/SVGMPathElement.cpp
index c67ca5b81b328c1d0cc7472cda1272c89bdba37f..8fb5460edd357d6103e1b69d5d59a437d2fb826c 100644
--- a/Source/core/svg/SVGMPathElement.cpp
+++ b/Source/core/svg/SVGMPathElement.cpp
@@ -155,7 +155,7 @@ void SVGMPathElement::targetPathChanged()
void SVGMPathElement::notifyParentOfPathChange(ContainerNode* parent)
{
if (parent && parent->hasTagName(SVGNames::animateMotionTag))
- static_cast<SVGAnimateMotionElement*>(parent)->updateAnimationPath();
+ toSVGAnimateMotionElement(parent)->updateAnimationPath();
}
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698