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

Unified Diff: third_party/WebKit/Source/core/xml/XPathFunctionsTest.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/xml/XPathFunctionsTest.cpp
diff --git a/third_party/WebKit/Source/core/xml/XPathFunctionsTest.cpp b/third_party/WebKit/Source/core/xml/XPathFunctionsTest.cpp
index 18b6e888628fb1c6533b9ebaa90e96a8bc0a092a..ef59c278ee736733b35a685ca94b6d7446514c2f 100644
--- a/third_party/WebKit/Source/core/xml/XPathFunctionsTest.cpp
+++ b/third_party/WebKit/Source/core/xml/XPathFunctionsTest.cpp
@@ -44,16 +44,16 @@ static String substring(XPathArguments& args) {
static String substring(const char* string, double pos) {
XPathArguments args;
- args.append(new XPath::StringExpression(string));
- args.append(new XPath::Number(pos));
+ args.push_back(new XPath::StringExpression(string));
+ args.push_back(new XPath::Number(pos));
return substring(args);
}
static String substring(const char* string, double pos, double len) {
XPathArguments args;
- args.append(new XPath::StringExpression(string));
- args.append(new XPath::Number(pos));
- args.append(new XPath::Number(len));
+ args.push_back(new XPath::StringExpression(string));
+ args.push_back(new XPath::Number(pos));
+ args.push_back(new XPath::Number(len));
return substring(args);
}
« no previous file with comments | « third_party/WebKit/Source/core/xml/XPathExpressionNode.h ('k') | third_party/WebKit/Source/core/xml/XPathNodeSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698