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

Unified Diff: third_party/WebKit/Source/core/svg/SVGUnitTypes.cpp

Issue 2617783002: Migrate WTF::Vector::append() to ::push_back() [part 12 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/svg/SVGUnitTypes.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGUnitTypes.cpp b/third_party/WebKit/Source/core/svg/SVGUnitTypes.cpp
index e57414bbd8b9977260df78e17f0be2eef88b6676..be605f32f27b19c7278ff2c2e7d279c127b2be43 100644
--- a/third_party/WebKit/Source/core/svg/SVGUnitTypes.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGUnitTypes.cpp
@@ -37,10 +37,10 @@ const SVGEnumerationStringEntries&
getStaticStringEntries<SVGUnitTypes::SVGUnitType>() {
DEFINE_STATIC_LOCAL(SVGEnumerationStringEntries, entries, ());
if (entries.isEmpty()) {
- entries.append(std::make_pair(SVGUnitTypes::kSvgUnitTypeUserspaceonuse,
- "userSpaceOnUse"));
- entries.append(std::make_pair(SVGUnitTypes::kSvgUnitTypeObjectboundingbox,
- "objectBoundingBox"));
+ entries.push_back(std::make_pair(SVGUnitTypes::kSvgUnitTypeUserspaceonuse,
+ "userSpaceOnUse"));
+ entries.push_back(std::make_pair(
+ SVGUnitTypes::kSvgUnitTypeObjectboundingbox, "objectBoundingBox"));
}
return entries;
}

Powered by Google App Engine
This is Rietveld 408576698