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); |
} |