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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@24510
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2007-07-21 Adam Roben <aroben@apple.com>
+
+ 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.
+
2007-07-20 Oliver Hunt <oliver@apple.com>
Reviewed by Adele.
[defaultMenuItems removeObject:secondToLastItem];
[defaultMenuItems removeObject:lastItem];
+ defaultItemsCount -= 2;
}
}