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

Unified Diff: third_party/WebKit/Source/core/page/CustomContextMenuProvider.cpp

Issue 2614033002: Migrate WTF::Vector::append() to ::push_back() [part 11 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/page/DragData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/page/CustomContextMenuProvider.cpp
diff --git a/third_party/WebKit/Source/core/page/CustomContextMenuProvider.cpp b/third_party/WebKit/Source/core/page/CustomContextMenuProvider.cpp
index 0b540e9b3709cf71e39864ee00f4e83f96073f81..8198176dd6f210d193ae2fe6ed56190e0a8a7f08 100644
--- a/third_party/WebKit/Source/core/page/CustomContextMenuProvider.cpp
+++ b/third_party/WebKit/Source/core/page/CustomContextMenuProvider.cpp
@@ -73,7 +73,7 @@ void CustomContextMenuProvider::appendMenuItem(HTMLMenuItemElement* menuItem,
if (labelString.isEmpty())
return;
- m_menuItems.append(menuItem);
+ m_menuItems.push_back(menuItem);
bool enabled = !menuItem->fastHasAttribute(disabledAttr);
String icon = menuItem->fastGetAttribute(iconAttr);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/page/DragData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698