Index: Source/core/layout/svg/SVGTextChunkBuilder.cpp |
diff --git a/Source/core/layout/svg/SVGTextChunkBuilder.cpp b/Source/core/layout/svg/SVGTextChunkBuilder.cpp |
index b19b866954a80122e4794276f53fcfb92950cafc..626cf1a23c0ec250bf3f43872d2e00f7e5c68741 100644 |
--- a/Source/core/layout/svg/SVGTextChunkBuilder.cpp |
+++ b/Source/core/layout/svg/SVGTextChunkBuilder.cpp |
@@ -250,6 +250,9 @@ void SVGTextChunkBuilder::processTextAnchorCorrection(bool isVerticalText, float |
void SVGTextChunkBuilder::finalizeTransformMatrices(const Vector<SVGInlineTextBox*>& boxes) const |
{ |
+ if (m_textBoxTransformations.isEmpty()) |
+ return; |
+ |
for (SVGInlineTextBox* textBox : boxes) { |
AffineTransform textBoxTransformation = m_textBoxTransformations.get(textBox); |
if (textBoxTransformation.isIdentity()) |