Index: Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
diff --git a/Source/core/rendering/svg/SVGRenderTreeAsText.cpp b/Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
index 8a1d99d38e250c23362a792bfd6096a63c33d83e..029091fc14644b3b99742b5a13ed9475ab2a66d6 100644 |
--- a/Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
+++ b/Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
@@ -369,7 +369,7 @@ static TextStream& operator<<(TextStream& ts, const RenderSVGRoot& root) |
static void writeRenderSVGTextBox(TextStream& ts, const RenderSVGText& text) |
{ |
- SVGRootInlineBox* box = static_cast<SVGRootInlineBox*>(text.firstRootBox()); |
+ SVGRootInlineBox* box = toSVGRootInlineBox(text.firstRootBox()); |
if (!box) |
return; |