summaryrefslogtreecommitdiffstats
path: root/WebCore/inspector/InspectorFrontendHost.cpp
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2010-08-27 11:02:25 +0100
committerSteve Block <steveblock@google.com>2010-09-02 17:17:20 +0100
commite8b154fd68f9b33be40a3590e58347f353835f5c (patch)
tree0733ce26384183245aaa5656af26c653636fe6c1 /WebCore/inspector/InspectorFrontendHost.cpp
parentda56157816334089526a7a115a85fd85a6e9a1dc (diff)
downloadexternal_webkit-e8b154fd68f9b33be40a3590e58347f353835f5c.zip
external_webkit-e8b154fd68f9b33be40a3590e58347f353835f5c.tar.gz
external_webkit-e8b154fd68f9b33be40a3590e58347f353835f5c.tar.bz2
Merge WebKit at r66079 : Initial merge by git
Change-Id: Ie2e1440fb9d487d24e52c247342c076fecaecac7
Diffstat (limited to 'WebCore/inspector/InspectorFrontendHost.cpp')
-rw-r--r--WebCore/inspector/InspectorFrontendHost.cpp6
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;