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

Unified Diff: third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.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
Index: third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.cpp b/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.cpp
index c5d87328b6ec5d431b1d6980f9102d62a27138b6..a66bd0b9bb778b60416ec3d205ee74e9641ad3e6 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.cpp
@@ -155,7 +155,7 @@ void SVGTextLayoutEngine::recordTextFragment(SVGInlineTextBox* textBox) {
// Figure out fragment metrics.
computeCurrentFragmentMetrics(textBox);
- textBox->textFragments().append(m_currentTextFragment);
+ textBox->textFragments().push_back(m_currentTextFragment);
m_currentTextFragment = SVGTextFragment();
}
@@ -237,7 +237,7 @@ void SVGTextLayoutEngine::layoutInlineTextBox(SVGInlineTextBox* textBox) {
if (m_inPathLayout)
return;
- m_lineLayoutBoxes.append(textBox);
+ m_lineLayoutBoxes.push_back(textBox);
}
static bool definesTextLengthWithSpacing(const InlineFlowBox* start) {

Powered by Google App Engine
This is Rietveld 408576698