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

Unified Diff: third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.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/CompositeEditCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
index 29a17ac75d586f4724334baaaa8010122d4aa1ac..8cafea5d162bc472bf1215d70d8ecc6a46592b07 100644
--- a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
@@ -151,7 +151,7 @@ InputEvent::InputType EditCommandComposition::inputType() const {
}
void EditCommandComposition::append(SimpleEditCommand* command) {
- m_commands.append(command);
+ m_commands.push_back(command);
}
void EditCommandComposition::append(EditCommandComposition* composition) {
@@ -287,7 +287,7 @@ void CompositeEditCommand::applyCommandToComposite(EditCommand* command,
command->setParent(0);
ensureComposition()->append(toSimpleEditCommand(command));
}
- m_commands.append(command);
+ m_commands.push_back(command);
}
void CompositeEditCommand::applyCommandToComposite(
@@ -301,7 +301,7 @@ void CompositeEditCommand::applyCommandToComposite(
}
command->doApply(editingState);
if (!editingState->isAborted())
- m_commands.append(command);
+ m_commands.push_back(command);
}
void CompositeEditCommand::appendCommandToComposite(

Powered by Google App Engine
This is Rietveld 408576698