Index: Source/core/rendering/svg/RenderSVGEllipse.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGEllipse.cpp b/Source/core/rendering/svg/RenderSVGEllipse.cpp |
index 3c559f6b6da8293c8026da28ff376da45ed20377..42b23b87076560919bba486f3c09a51a60cbefd1 100644 |
--- a/Source/core/rendering/svg/RenderSVGEllipse.cpp |
+++ b/Source/core/rendering/svg/RenderSVGEllipse.cpp |
@@ -77,8 +77,7 @@ void RenderSVGEllipse::calculateRadiiAndCenter() |
{ |
ASSERT(node()); |
if (node()->hasTagName(SVGNames::circleTag)) { |
- |
- SVGCircleElement* circle = static_cast<SVGCircleElement*>(node()); |
+ SVGCircleElement* circle = toSVGCircleElement(node()); |
SVGLengthContext lengthContext(circle); |
float radius = circle->rCurrentValue().value(lengthContext); |