| 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);
|
| }
|
|
|
|
|