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

Unified Diff: third_party/WebKit/Source/platform/ContextMenu.h

Issue 2615813003: Migrate WTF::Vector::append() to ::push_back() [part 14 of N] (Closed)
Patch Set: rebase, small fix in FontSettings.h 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/platform/FileChooser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/ContextMenu.h
diff --git a/third_party/WebKit/Source/platform/ContextMenu.h b/third_party/WebKit/Source/platform/ContextMenu.h
index 8735ad41153590dffffb53be5a63e2e71c6d665f..6687ebf7a791856da79a45397a2bd1a290b9f359 100644
--- a/third_party/WebKit/Source/platform/ContextMenu.h
+++ b/third_party/WebKit/Source/platform/ContextMenu.h
@@ -41,7 +41,7 @@ class PLATFORM_EXPORT ContextMenu {
ContextMenu() {}
const ContextMenuItem* itemWithAction(unsigned) const;
const Vector<ContextMenuItem>& items() const { return m_items; }
- void appendItem(const ContextMenuItem& item) { m_items.append(item); }
+ void appendItem(const ContextMenuItem& item) { m_items.push_back(item); }
void removeLastItem() { m_items.pop_back(); }
private:
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/FileChooser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698