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

Unified Diff: third_party/WebKit/Source/core/xml/XPathNodeSet.h

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/XPathNodeSet.h
diff --git a/third_party/WebKit/Source/core/xml/XPathNodeSet.h b/third_party/WebKit/Source/core/xml/XPathNodeSet.h
index 6ba8ee1ac0e1f97aba9ce0ebd0e16d6c8a4b9d60..5ec9d7781a276c570fc11340abbc0a077bbe821b 100644
--- a/third_party/WebKit/Source/core/xml/XPathNodeSet.h
+++ b/third_party/WebKit/Source/core/xml/XPathNodeSet.h
@@ -60,7 +60,7 @@ class NodeSet final : public GarbageCollected<NodeSet> {
}
// NodeSet itself does not verify that nodes in it are unique.
- void append(Node* node) { m_nodes.append(node); }
+ void append(Node* node) { m_nodes.push_back(node); }
void append(const NodeSet& nodeSet) { m_nodes.appendVector(nodeSet.m_nodes); }
// Returns the set's first node in document order, or 0 if the set is empty.
« no previous file with comments | « third_party/WebKit/Source/core/xml/XPathFunctionsTest.cpp ('k') | third_party/WebKit/Source/core/xml/XPathNodeSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698