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

Unified Diff: third_party/WebKit/Source/core/editing/commands/EditorCommand.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/EditorCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
index 015917c2d7d98c7b82119a1249f0cf240a7f9e31..7f1aa4f15f695cc1b0c06a75771b711e95ea7e0b 100644
--- a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
@@ -204,7 +204,7 @@ RangeVector* RangesFromCurrentSelectionOrExtendCaret(
// We only supports single selections.
if (selectionModifier.selection().isNone())
return ranges;
- ranges->append(firstRangeOf(selectionModifier.selection()));
+ ranges->push_back(firstRangeOf(selectionModifier.selection()));
return ranges;
}

Powered by Google App Engine
This is Rietveld 408576698