Index: Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
diff --git a/Source/core/rendering/svg/SVGRenderTreeAsText.cpp b/Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
index bff3488083fd2e423ce2ebdb634ba3b1ee243678..3303ffe0e193ca4b5c1a2df1b8577c1e856306ec 100644 |
--- a/Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
+++ b/Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
@@ -473,7 +473,7 @@ static void writeStandardPrefix(TextStream& ts, const RenderObject& object, int |
static void writeChildren(TextStream& ts, const RenderObject& object, int indent) |
{ |
- for (RenderObject* child = object.firstChild(); child; child = child->nextSibling()) |
+ for (RenderObject* child = object.slowFirstChild(); child; child = child->nextSibling()) |
write(ts, *child, indent + 1); |
} |