Index: Source/platform/ContextMenu.h |
diff --git a/Source/platform/ContextMenu.h b/Source/platform/ContextMenu.h |
index ebed1e3982f744441d2a7e6f843f85081cc87329..35a92757d0ff5e9c6297968b7bc011cc0e37ad44 100644 |
--- a/Source/platform/ContextMenu.h |
+++ b/Source/platform/ContextMenu.h |
@@ -40,6 +40,7 @@ public: |
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(); } |
private: |
Vector<ContextMenuItem> m_items; |