Index: Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp |
diff --git a/Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp b/Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp |
index 35811eb4a58be84a8390dea0e9394f6f9c00e877..cbf018dc87ab02811f632817bdc52accc614560d 100644 |
--- a/Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp |
+++ b/Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp |
@@ -105,7 +105,7 @@ void SVGTextLayoutAttributesBuilder::collectTextPositioningElements(RenderObject |
{ |
ASSERT(!start->isSVGText() || m_textPositions.isEmpty()); |
- for (RenderObject* child = start->firstChild(); child; child = child->nextSibling()) { |
+ for (RenderObject* child = start->slowFirstChild(); child; child = child->nextSibling()) { |
if (child->isSVGInlineText()) { |
processRenderSVGInlineText(toRenderSVGInlineText(child), m_textLength, lastCharacter); |
continue; |