Changeset 24510 in webkit


Ignore:
Timestamp:
Jul 21, 2007 2:38:09 PM (17 years ago)
Author:
aroben
Message:

Fix REGRESSION: Right-click/control-click broken

http://bugs.webkit.org/show_bug.cgi?id=14658
<rdar://problem/5346830>

Reviewed by Mitz.

  • WebCoreSupport/WebContextMenuClient.mm: (fixMenusToSendToOldClients): Update defaultItemsCount after removing items from the defaultItems array.
Location:
trunk/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/ChangeLog

    r24505 r24510  
     12007-07-21  Adam Roben  <aroben@apple.com>
     2
     3        Fix REGRESSION: Right-click/control-click broken
     4
     5        http://bugs.webkit.org/show_bug.cgi?id=14658
     6        <rdar://problem/5346830>
     7
     8        Reviewed by Mitz.
     9
     10        * WebCoreSupport/WebContextMenuClient.mm:
     11        (fixMenusToSendToOldClients): Update defaultItemsCount after removing
     12        items from the defaultItems array.
     13
    1142007-07-20  Oliver Hunt  <oliver@apple.com>
    215
  • trunk/WebKit/WebCoreSupport/WebContextMenuClient.mm

    r24442 r24510  
    9595            [defaultMenuItems removeObject:secondToLastItem];
    9696            [defaultMenuItems removeObject:lastItem];
     97            defaultItemsCount -= 2;
    9798        }
    9899    }
Note: See TracChangeset for help on using the changeset viewer.