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

Unified Diff: third_party/WebKit/Source/core/dom/ContainerNode.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/ContainerNode.cpp
diff --git a/third_party/WebKit/Source/core/dom/ContainerNode.cpp b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
index 8e46d3dcbe026f9a26ed270f24ef6521456dc4b5..9247542f8a9b558d4adf342dcc43abcd401a4896 100644
--- a/third_party/WebKit/Source/core/dom/ContainerNode.cpp
+++ b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
@@ -76,7 +76,7 @@ static inline void collectChildrenAndRemoveFromOldParent(
fragment.removeChildren();
return;
}
- nodes.append(&node);
+ nodes.push_back(&node);
if (ContainerNode* oldParent = node.parentNode())
oldParent->removeChild(&node, exceptionState);
}
@@ -728,7 +728,7 @@ void ContainerNode::notifyNodeInsertedInternal(
continue;
if (Node::InsertionShouldCallDidNotifySubtreeInsertions ==
node.insertedInto(this))
- postInsertionNotificationTargets.append(&node);
+ postInsertionNotificationTargets.push_back(&node);
for (ShadowRoot* shadowRoot = node.youngestShadowRoot(); shadowRoot;
shadowRoot = shadowRoot->olderShadowRoot())
notifyNodeInsertedInternal(*shadowRoot, postInsertionNotificationTargets);
« no previous file with comments | « third_party/WebKit/Source/core/dom/ContainerNode.h ('k') | third_party/WebKit/Source/core/dom/DOMStringList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698