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

Unified Diff: third_party/WebKit/Source/core/xml/XPathStep.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/XPathStep.cpp
diff --git a/third_party/WebKit/Source/core/xml/XPathStep.cpp b/third_party/WebKit/Source/core/xml/XPathStep.cpp
index 3872240c594c11e4a73f6b0a945a62f1c4811f6e..b9c8d6ab4e788e57ebb6a72c93767dd4c805b60b 100644
--- a/third_party/WebKit/Source/core/xml/XPathStep.cpp
+++ b/third_party/WebKit/Source/core/xml/XPathStep.cpp
@@ -69,9 +69,9 @@ void Step::optimize() {
if ((!predicate->isContextPositionSensitive() ||
nodeTest().mergedPredicates().isEmpty()) &&
!predicate->isContextSizeSensitive() && remainingPredicates.isEmpty()) {
- nodeTest().mergedPredicates().append(predicate);
+ nodeTest().mergedPredicates().push_back(predicate);
} else {
- remainingPredicates.append(predicate);
+ remainingPredicates.push_back(predicate);
}
}
swap(remainingPredicates, m_predicates);
« no previous file with comments | « third_party/WebKit/Source/core/xml/XPathPath.cpp ('k') | third_party/WebKit/Source/core/xml/XSLStyleSheetLibxslt.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698