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

Unified Diff: third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.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/SVGLayoutSupport.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
index f3d53286004d6b517e8bd6b7b738b2f7020c37e0..97111d8c8f6d2873c33e1521a0602e2ac5a54b77 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
@@ -441,7 +441,7 @@ DashArray SVGLayoutSupport::resolveSVGDashArray(
const SVGLengthContext& lengthContext) {
DashArray dashArray;
for (const Length& dashLength : svgDashArray.vector())
- dashArray.append(lengthContext.valueForLength(dashLength, style));
+ dashArray.push_back(lengthContext.valueForLength(dashLength, style));
return dashArray;
}
@@ -575,7 +575,7 @@ static SearchCandidate searchTreeForFindClosestLayoutSVGText(
float distance = distanceToChildLayoutObject(child, point);
if (distance > closestText.candidateDistance)
continue;
- candidates.append(SearchCandidate(child, distance));
+ candidates.push_back(SearchCandidate(child, distance));
}
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp ('k') | third_party/WebKit/Source/core/layout/svg/SVGMarkerData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698