diff options
Diffstat (limited to 'WebCore/inspector/InspectorFrontendHost.cpp')
-rw-r--r-- | WebCore/inspector/InspectorFrontendHost.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/WebCore/inspector/InspectorFrontendHost.cpp b/WebCore/inspector/InspectorFrontendHost.cpp index f9bf176..8dc00ae 100644 --- a/WebCore/inspector/InspectorFrontendHost.cpp +++ b/WebCore/inspector/InspectorFrontendHost.cpp @@ -92,8 +92,7 @@ private: if (m_frontendHost) { int itemNumber = item->action() - ContextMenuItemBaseCustomTag; - ScriptFunctionCall function(m_webInspector, "dispatch"); - function.appendArgument("contextMenuItemSelected"); + ScriptFunctionCall function(m_webInspector, "contextMenuItemSelected"); function.appendArgument(itemNumber); function.call(); } @@ -102,8 +101,7 @@ private: virtual void contextMenuCleared() { if (m_frontendHost) { - ScriptFunctionCall function(m_webInspector, "dispatch"); - function.appendArgument("contextMenuCleared"); + ScriptFunctionCall function(m_webInspector, "contextMenuCleared"); function.call(); m_frontendHost->m_menuProvider = 0; |