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

Unified Diff: third_party/WebKit/Source/platform/graphics/PathTraversalState.cpp

Issue 2615813003: Migrate WTF::Vector::append() to ::push_back() [part 14 of N] (Closed)
Patch Set: rebase, small fix in FontSettings.h 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/platform/graphics/PathTraversalState.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/PathTraversalState.cpp b/third_party/WebKit/Source/platform/graphics/PathTraversalState.cpp
index dcc537d727724ece545f89522dd4bba8a49196e8..17cc32364bfac33d381187d5e95b1046f4d3fe4e 100644
--- a/third_party/WebKit/Source/platform/graphics/PathTraversalState.cpp
+++ b/third_party/WebKit/Source/platform/graphics/PathTraversalState.cpp
@@ -129,7 +129,7 @@ static float curveLength(PathTraversalState& traversalState, CurveType curve) {
return 0;
Vector<CurveType> curveStack;
- curveStack.append(curve);
+ curveStack.push_back(curve);
float totalLength = 0;
do {
@@ -143,7 +143,7 @@ static float curveLength(PathTraversalState& traversalState, CurveType curve) {
CurveType rightCurve;
curve.split(leftCurve, rightCurve);
curve = leftCurve;
- curveStack.append(rightCurve);
+ curveStack.push_back(rightCurve);
} else {
totalLength += length;
if (traversalState.m_action ==

Powered by Google App Engine
This is Rietveld 408576698