Index: Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
diff --git a/Source/core/rendering/svg/SVGRenderTreeAsText.cpp b/Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
index f6b6dde6be62bcb42df5270e9de29c68c7c33c50..1eaf384472f5754eba421ce097a5e9e6bed37e4b 100644 |
--- a/Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
+++ b/Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
@@ -625,7 +625,7 @@ void writeSVGGradientStop(TextStream& ts, const RenderSVGGradientStop& stop, int |
{ |
writeStandardPrefix(ts, stop, indent); |
- SVGStopElement* stopElement = static_cast<SVGStopElement*>(stop.node()); |
+ SVGStopElement* stopElement = toSVGStopElement(stop.node()); |
ASSERT(stopElement); |
RenderStyle* style = stop.style(); |