Index: Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
diff --git a/Source/core/rendering/svg/SVGRenderTreeAsText.cpp b/Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
index e10d2f00f1f109bfab86a20850abdd198bb0f2d4..e4758158b8db3b2f4125eb0085b57929d8dee038 100644 |
--- a/Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
+++ b/Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
@@ -401,11 +401,10 @@ static inline void writeSVGInlineTextBox(TextStream& ts, SVGInlineTextBox* textB |
if (fragments.isEmpty()) |
return; |
- RenderSVGInlineText* textRenderer = toRenderSVGInlineText(textBox->textRenderer()); |
- ASSERT(textRenderer); |
+ RenderSVGInlineText& textRenderer = toRenderSVGInlineText(textBox->textRenderer()); |
- const SVGRenderStyle* svgStyle = textRenderer->style()->svgStyle(); |
- String text = textBox->textRenderer()->text(); |
+ const SVGRenderStyle* svgStyle = textRenderer.style()->svgStyle(); |
+ String text = textBox->textRenderer().text(); |
unsigned fragmentsSize = fragments.size(); |
for (unsigned i = 0; i < fragmentsSize; ++i) { |