Changeset 65816 in webkit


Ignore:
Timestamp:
Aug 23, 2010 9:54:14 AM (14 years ago)
Author:
loislo@chromium.org
Message:

2010-08-23 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Pavel Feldman.

WebInspector: Context menu in Scripts panel was broken.
https://bugs.webkit.org/show_bug.cgi?id=44431

  • inspector/InspectorFrontendHost.cpp: (WebCore::FrontendMenuProvider::contextMenuItemSelected): (WebCore::FrontendMenuProvider::contextMenuCleared):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r65814 r65816  
     12010-08-23  Ilya Tikhonovsky  <loislo@chromium.org>
     2
     3        Reviewed by Pavel Feldman.
     4
     5        WebInspector: Context menu in Scripts panel was broken.
     6        https://bugs.webkit.org/show_bug.cgi?id=44431
     7
     8        * inspector/InspectorFrontendHost.cpp:
     9        (WebCore::FrontendMenuProvider::contextMenuItemSelected):
     10        (WebCore::FrontendMenuProvider::contextMenuCleared):
     11
    1122010-08-23  Andreas Kling  <andreas.kling@nokia.com>
    213
  • trunk/WebCore/inspector/InspectorFrontendHost.cpp

    r64745 r65816  
    9393            int itemNumber = item->action() - ContextMenuItemBaseCustomTag;
    9494
    95             ScriptFunctionCall function(m_webInspector, "dispatch");
    96             function.appendArgument("contextMenuItemSelected");
     95            ScriptFunctionCall function(m_webInspector, "contextMenuItemSelected");
    9796            function.appendArgument(itemNumber);
    9897            function.call();
     
    103102    {
    104103        if (m_frontendHost) {
    105             ScriptFunctionCall function(m_webInspector, "dispatch");
    106             function.appendArgument("contextMenuCleared");
     104            ScriptFunctionCall function(m_webInspector, "contextMenuCleared");
    107105            function.call();
    108106
Note: See TracChangeset for help on using the changeset viewer.