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

Unified Diff: third_party/WebKit/Source/core/xml/XPathPath.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/XPathPath.cpp
diff --git a/third_party/WebKit/Source/core/xml/XPathPath.cpp b/third_party/WebKit/Source/core/xml/XPathPath.cpp
index f5eb17ae3e10a85ce183bc8490be4a0efa1a815e..52cd1f95af5f1a74e2f7b49009fd938a30c01a1b 100644
--- a/third_party/WebKit/Source/core/xml/XPathPath.cpp
+++ b/third_party/WebKit/Source/core/xml/XPathPath.cpp
@@ -161,7 +161,7 @@ void LocationPath::appendStep(Step* step) {
if (stepCount && optimizeStepPair(m_steps[stepCount - 1], step))
return;
step->optimize();
- m_steps.append(step);
+ m_steps.push_back(step);
}
void LocationPath::insertFirstStep(Step* step) {
« no previous file with comments | « third_party/WebKit/Source/core/xml/XPathNodeSet.cpp ('k') | third_party/WebKit/Source/core/xml/XPathStep.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698