| Index: Source/WebCore/platform/ContextMenuItem.cpp
|
| diff --git a/Source/WebCore/platform/ContextMenuItem.cpp b/Source/WebCore/platform/ContextMenuItem.cpp
|
| index 246ad4aaad9e4f162a83105c7b7fd03aeff37ff7..aaba4a036f32271a36f700112e4969b654748f3e 100644
|
| --- a/Source/WebCore/platform/ContextMenuItem.cpp
|
| +++ b/Source/WebCore/platform/ContextMenuItem.cpp
|
| @@ -28,7 +28,7 @@
|
|
|
| #include "ContextMenu.h"
|
|
|
| -#if ENABLE(CONTEXT_MENUS) && USE(CROSS_PLATFORM_CONTEXT_MENUS)
|
| +#if ENABLE(CONTEXT_MENUS)
|
|
|
| namespace WebCore {
|
|
|
| @@ -51,7 +51,7 @@ ContextMenuItem::ContextMenuItem(ContextMenuItemType type, ContextMenuAction act
|
| , m_checked(checked)
|
| {
|
| }
|
| -
|
| +
|
| ContextMenuItem::ContextMenuItem(ContextMenuAction action, const String& title, bool enabled, bool checked, const Vector<ContextMenuItem>& subMenuItems)
|
| : m_type(SubmenuType)
|
| , m_action(action)
|
| @@ -119,4 +119,4 @@ bool ContextMenuItem::enabled() const
|
|
|
| } // namespace WebCore
|
|
|
| -#endif // ENABLE(CONTEXT_MENUS) && USE(CROSS_PLATFORM_CONTEXT_MENUS)
|
| +#endif // ENABLE(CONTEXT_MENUS)
|
|
|