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

Unified Diff: third_party/WebKit/Source/core/dom/ChildListMutationScope.cpp

Issue 2574773002: Migrate WTF::Vector::append() to ::push_back() [part 4 of N] (Closed)
Patch Set: rebase Created 4 years 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/dom/ChildListMutationScope.cpp
diff --git a/third_party/WebKit/Source/core/dom/ChildListMutationScope.cpp b/third_party/WebKit/Source/core/dom/ChildListMutationScope.cpp
index dae325755a4cbeb23b809000ed2ab7ba790dd7c4..06597ed6990e0c7f5839bb5dd12cf0ceb7278d87 100644
--- a/third_party/WebKit/Source/core/dom/ChildListMutationScope.cpp
+++ b/third_party/WebKit/Source/core/dom/ChildListMutationScope.cpp
@@ -99,7 +99,7 @@ void ChildListMutationAccumulator::childAdded(Node* child) {
}
m_lastAdded = child;
- m_addedNodes.append(child);
+ m_addedNodes.push_back(child);
}
inline bool ChildListMutationAccumulator::isRemovedNodeInOrder(Node* child) {
@@ -120,7 +120,7 @@ void ChildListMutationAccumulator::willRemoveChild(Node* child) {
m_nextSibling = child->nextSibling();
}
- m_removedNodes.append(child);
+ m_removedNodes.push_back(child);
}
void ChildListMutationAccumulator::enqueueMutationRecord() {
« no previous file with comments | « third_party/WebKit/Source/core/dom/ChildFrameDisconnector.cpp ('k') | third_party/WebKit/Source/core/dom/ClientRectList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698