| Index: Source/core/layout/svg/SVGTextLayoutEngine.cpp
|
| diff --git a/Source/core/layout/svg/SVGTextLayoutEngine.cpp b/Source/core/layout/svg/SVGTextLayoutEngine.cpp
|
| index 7dfb40dab2b50a2d5488e0f898ff820b3e736d9d..ab9604cb47cf6977611ea77846ecaa600b89c58e 100644
|
| --- a/Source/core/layout/svg/SVGTextLayoutEngine.cpp
|
| +++ b/Source/core/layout/svg/SVGTextLayoutEngine.cpp
|
| @@ -250,10 +250,8 @@ void SVGTextLayoutEngine::layoutInlineTextBox(SVGInlineTextBox* textBox)
|
| m_isVerticalText = style.svgStyle().isVerticalWritingMode();
|
| layoutTextOnLineOrPath(textBox, text, style);
|
|
|
| - if (m_inPathLayout) {
|
| - m_pathLayoutBoxes.append(textBox);
|
| + if (m_inPathLayout)
|
| return;
|
| - }
|
|
|
| m_lineLayoutBoxes.append(textBox);
|
| }
|
| @@ -270,11 +268,6 @@ void SVGTextLayoutEngine::finishLayout()
|
| chunkLayoutBuilder.finalizeTransformMatrices(m_lineLayoutBoxes);
|
| m_lineLayoutBoxes.clear();
|
| }
|
| -
|
| - if (!m_pathLayoutBoxes.isEmpty()) {
|
| - chunkLayoutBuilder.finalizeTransformMatrices(m_pathLayoutBoxes);
|
| - m_pathLayoutBoxes.clear();
|
| - }
|
| }
|
|
|
| bool SVGTextLayoutEngine::currentLogicalCharacterAttributes(SVGTextLayoutAttributes*& logicalAttributes)
|
|
|