Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Unified Diff: third_party/WebKit/Source/core/layout/svg/SVGTextQuery.cpp

Issue 2610253004: Migrate WTF::Vector::append() to ::push_back() [part 9 of N] (Closed)
Patch Set: rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698