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

Unified Diff: third_party/WebKit/Source/core/svg/SVGComponentTransferFunctionElement.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/SVGComponentTransferFunctionElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGComponentTransferFunctionElement.cpp b/third_party/WebKit/Source/core/svg/SVGComponentTransferFunctionElement.cpp
index 2b114e5ff126ad25c63cfd559446bc68b9044f2f..fa6600078e006f816a0ee39df102de8fee14ea3a 100644
--- a/third_party/WebKit/Source/core/svg/SVGComponentTransferFunctionElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGComponentTransferFunctionElement.cpp
@@ -32,13 +32,14 @@ const SVGEnumerationStringEntries&
getStaticStringEntries<ComponentTransferType>() {
DEFINE_STATIC_LOCAL(SVGEnumerationStringEntries, entries, ());
if (entries.isEmpty()) {
- entries.append(
+ entries.push_back(
std::make_pair(FECOMPONENTTRANSFER_TYPE_IDENTITY, "identity"));
- entries.append(std::make_pair(FECOMPONENTTRANSFER_TYPE_TABLE, "table"));
- entries.append(
+ entries.push_back(std::make_pair(FECOMPONENTTRANSFER_TYPE_TABLE, "table"));
+ entries.push_back(
std::make_pair(FECOMPONENTTRANSFER_TYPE_DISCRETE, "discrete"));
- entries.append(std::make_pair(FECOMPONENTTRANSFER_TYPE_LINEAR, "linear"));
- entries.append(std::make_pair(FECOMPONENTTRANSFER_TYPE_GAMMA, "gamma"));
+ entries.push_back(
+ std::make_pair(FECOMPONENTTRANSFER_TYPE_LINEAR, "linear"));
+ entries.push_back(std::make_pair(FECOMPONENTTRANSFER_TYPE_GAMMA, "gamma"));
}
return entries;
}

Powered by Google App Engine
This is Rietveld 408576698