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

Unified Diff: third_party/WebKit/Source/core/editing/commands/MergeIdenticalElementsCommand.cpp

Issue 2571953004: Migrate WTF::Vector::append() to ::push_back() [part 5 of N] (Closed)
Patch Set: 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/editing/commands/MergeIdenticalElementsCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/MergeIdenticalElementsCommand.cpp b/third_party/WebKit/Source/core/editing/commands/MergeIdenticalElementsCommand.cpp
index d396fa023484fc5ed943abab3fbf0568aa833c6f..01184001c010bc13f7d2b3190e21a7ab88e8fd58 100644
--- a/third_party/WebKit/Source/core/editing/commands/MergeIdenticalElementsCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/MergeIdenticalElementsCommand.cpp
@@ -78,7 +78,7 @@ void MergeIdenticalElementsCommand::doUnapply() {
HeapVector<Member<Node>> children;
for (Node* child = m_element2->firstChild(); child && child != atChild;
child = child->nextSibling())
- children.append(child);
+ children.push_back(child);
for (auto& child : children)
m_element1->appendChild(child.release(), exceptionState);

Powered by Google App Engine
This is Rietveld 408576698