| Index: Source/core/svg/SVGMPathElement.cpp
|
| diff --git a/Source/core/svg/SVGMPathElement.cpp b/Source/core/svg/SVGMPathElement.cpp
|
| index 93a21c87b638f2bbd36d7c2741491aa65dc7919d..5930cccd8a5dc4753ae79d3e05d8f1061ffa06a5 100644
|
| --- a/Source/core/svg/SVGMPathElement.cpp
|
| +++ b/Source/core/svg/SVGMPathElement.cpp
|
| @@ -154,7 +154,7 @@ SVGPathElement* SVGMPathElement::pathElement()
|
| {
|
| Element* target = targetElementFromIRIString(hrefCurrentValue(), document());
|
| if (target && target->hasTagName(SVGNames::pathTag))
|
| - return static_cast<SVGPathElement*>(target);
|
| + return toSVGPathElement(target);
|
| return 0;
|
| }
|
|
|
|
|