Index: Source/platform/ContextMenuItem.cpp |
diff --git a/Source/platform/ContextMenuItem.cpp b/Source/platform/ContextMenuItem.cpp |
index 2aa6c2238194a4c96b56d846de2d966bfecc5afb..8d3a1b1046ecd590e68d192cc2f188571d552505 100644 |
--- a/Source/platform/ContextMenuItem.cpp |
+++ b/Source/platform/ContextMenuItem.cpp |
@@ -30,10 +30,11 @@ |
namespace blink { |
-ContextMenuItem::ContextMenuItem(ContextMenuItemType type, ContextMenuAction action, const String& title, ContextMenu* subMenu) |
+ContextMenuItem::ContextMenuItem(ContextMenuItemType type, ContextMenuAction action, const String& title, const String& icon, ContextMenu* subMenu) |
: m_type(type) |
, m_action(action) |
, m_title(title) |
+ , m_icon(icon) |
, m_enabled(true) |
, m_checked(false) |
{ |
@@ -41,10 +42,11 @@ ContextMenuItem::ContextMenuItem(ContextMenuItemType type, ContextMenuAction act |
setSubMenu(subMenu); |
} |
-ContextMenuItem::ContextMenuItem(ContextMenuItemType type, ContextMenuAction action, const String& title, bool enabled, bool checked) |
+ContextMenuItem::ContextMenuItem(ContextMenuItemType type, ContextMenuAction action, const String& title, const String& icon, bool enabled, bool checked) |
: m_type(type) |
, m_action(action) |
, m_title(title) |
+ , m_icon(icon) |
, m_enabled(enabled) |
, m_checked(checked) |
{ |