Index: Source/core/svg/SVGTextPositioningElement.cpp |
diff --git a/Source/core/svg/SVGTextPositioningElement.cpp b/Source/core/svg/SVGTextPositioningElement.cpp |
index f54fc7fecc34b3acb2ecf91314b88a13de1ea125..e3b77963f6130092882ff9784c325b671afcdf4a 100644 |
--- a/Source/core/svg/SVGTextPositioningElement.cpp |
+++ b/Source/core/svg/SVGTextPositioningElement.cpp |
@@ -148,7 +148,7 @@ SVGTextPositioningElement* SVGTextPositioningElement::elementFromRenderer(Render |
&& !node->hasTagName(SVGNames::tspanTag)) |
return 0; |
- return static_cast<SVGTextPositioningElement*>(node); |
+ return toSVGTextPositioningElement(node); |
} |
} |