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

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

Issue 2459003003: WTF/std normalization: replace WTF::Vector::removeLast with ::pop_back (Closed)
Patch Set: rebase Created 4 years, 1 month 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/platform/ContextMenu.h
diff --git a/third_party/WebKit/Source/platform/ContextMenu.h b/third_party/WebKit/Source/platform/ContextMenu.h
index 761c3432ffcf119812d766f2bbcd5324385a16e9..8735ad41153590dffffb53be5a63e2e71c6d665f 100644
--- a/third_party/WebKit/Source/platform/ContextMenu.h
+++ b/third_party/WebKit/Source/platform/ContextMenu.h
@@ -42,7 +42,7 @@ class PLATFORM_EXPORT ContextMenu {
const ContextMenuItem* itemWithAction(unsigned) const;
const Vector<ContextMenuItem>& items() const { return m_items; }
void appendItem(const ContextMenuItem& item) { m_items.append(item); }
- void removeLastItem() { m_items.removeLast(); }
+ void removeLastItem() { m_items.pop_back(); }
private:
Vector<ContextMenuItem> m_items;

Powered by Google App Engine
This is Rietveld 408576698