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

Unified Diff: third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.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/ReplaceSelectionCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
index 3ec32c20dbe3f857bd7d8470f0e0515ccf86399e..c59b7d0c3f5f3f4fdab38629e7fae48b91f228fe 100644
--- a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
@@ -341,7 +341,7 @@ void ReplacementFragment::removeUnrenderedNodes(ContainerNode* holder) {
for (Node& node : NodeTraversal::descendantsOf(*holder)) {
if (!isNodeRendered(node) && !isTableStructureNode(&node))
- unrendered.append(&node);
+ unrendered.push_back(&node);
}
for (auto& node : unrendered)

Powered by Google App Engine
This is Rietveld 408576698