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

Unified Diff: third_party/WebKit/Source/core/editing/commands/SplitElementCommand.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/SplitElementCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/SplitElementCommand.cpp b/third_party/WebKit/Source/core/editing/commands/SplitElementCommand.cpp
index c9864ae1216f349a95de3088f43bc8a88257bbb1..c9bfcbc377bf7280cb32f5ceba69b4d4ea4a6595 100644
--- a/third_party/WebKit/Source/core/editing/commands/SplitElementCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/SplitElementCommand.cpp
@@ -50,7 +50,7 @@ void SplitElementCommand::executeApply() {
HeapVector<Member<Node>> children;
for (Node* node = m_element2->firstChild(); node != m_atChild;
node = node->nextSibling())
- children.append(node);
+ children.push_back(node);
DummyExceptionStateForTesting exceptionState;

Powered by Google App Engine
This is Rietveld 408576698