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

Unified Diff: Source/core/platform/ContextMenu.cpp

Issue 14795011: Remove dead ContextMenu code from Blink core (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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: Source/core/platform/ContextMenu.cpp
diff --git a/Source/core/platform/ContextMenu.cpp b/Source/core/platform/ContextMenu.cpp
index 17c063faa467b760688f39fd96d8f89f975f971d..746bc5a7c0a9a87d98f33734944d65ad9d590fb4 100644
--- a/Source/core/platform/ContextMenu.cpp
+++ b/Source/core/platform/ContextMenu.cpp
@@ -28,10 +28,6 @@
namespace WebCore {
-ContextMenu::ContextMenu()
-{
-}
-
static const ContextMenuItem* findItemWithAction(unsigned action, const Vector<ContextMenuItem>& items)
{
for (size_t i = 0; i < items.size(); ++i) {
@@ -47,7 +43,7 @@ static const ContextMenuItem* findItemWithAction(unsigned action, const Vector<C
return 0;
}
-const ContextMenuItem* ContextMenu::itemWithAction(unsigned action)
+const ContextMenuItem* ContextMenu::itemWithAction(unsigned action) const
{
return findItemWithAction(action, m_items);
}

Powered by Google App Engine
This is Rietveld 408576698