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

Unified Diff: third_party/WebKit/Source/web/ContextMenuClientImpl.cpp

Issue 2612903007: Migrate WTF::Vector::append() to ::push_back() [part 15 of N] (Closed)
Patch Set: Created 3 years, 11 months 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/web/ContextMenuClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp b/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp
index 2c18919bb22f9421733356244ef21101e53040a2..36d6cdf6a49ecd5750d220c0f0043b9f313d1ed4 100644
--- a/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp
@@ -442,7 +442,7 @@ static void populateSubMenuItems(const Vector<ContextMenuItem>& inputMenu,
outputItem.subMenuItems);
break;
}
- subItems.append(outputItem);
+ subItems.push_back(outputItem);
}
WebVector<WebMenuItemInfo> outputItems(subItems.size());

Powered by Google App Engine
This is Rietveld 408576698