| Index: third_party/WebKit/Source/core/layout/svg/SVGTextQuery.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/SVGTextQuery.cpp b/third_party/WebKit/Source/core/layout/svg/SVGTextQuery.cpp
|
| index 55015417645ca0c5fb0bf2c1985215efb1cc7182..17b606e2bbf20f75007cc6d12e1e2ef51df0628d 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/SVGTextQuery.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/SVGTextQuery.cpp
|
| @@ -95,7 +95,7 @@ static void collectTextBoxesInFlowBox(InlineFlowBox* flowBox,
|
| }
|
|
|
| if (child->isSVGInlineTextBox())
|
| - textBoxes.append(toSVGInlineTextBox(child));
|
| + textBoxes.push_back(toSVGInlineTextBox(child));
|
| }
|
| }
|
|
|
| @@ -140,7 +140,7 @@ static void collectTextBoxesInLogicalOrder(
|
| textBoxes.shrink(0);
|
| for (InlineTextBox* textBox = textLineLayout.firstTextBox(); textBox;
|
| textBox = textBox->nextTextBox())
|
| - textBoxes.append(toSVGInlineTextBox(textBox));
|
| + textBoxes.push_back(toSVGInlineTextBox(textBox));
|
| std::sort(textBoxes.begin(), textBoxes.end(), InlineTextBox::compareByStart);
|
| }
|
|
|
|
|