Changeset 19409 in webkit
- Timestamp:
- Feb 5, 2007, 1:10:49 PM (18 years ago)
- Location:
- trunk/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/ChangeLog
r19364 r19409 1 2007-02-05 Beth Dakin <bdakin@apple.com> 2 3 Reviewed by Adam. 4 5 Fix for <rdar://problem/4975161> REGRESSION: With BumperCar 2.1.1, 6 the contextual menu fails to appear when I ctrl-click on page 7 8 * WebCoreSupport/WebContextMenuClient.mm: 9 (WebContextMenuClient::getCustomMenuFromDefaultItems): If the 10 delegate does not respond to contextMenuItemsForElement, return the 11 default menu instead of nil. 12 1 13 2007-02-01 Geoffrey Garen <ggaren@apple.com> 2 14 -
trunk/WebKit/WebCoreSupport/WebContextMenuClient.mm
r18995 r19409 169 169 id delegate = [m_webView UIDelegate]; 170 170 if (![delegate respondsToSelector:@selector(webView:contextMenuItemsForElement:defaultMenuItems:)]) 171 return nil;171 return defaultMenu->platformDescription(); 172 172 173 173 NSDictionary *element = [[[WebElementDictionary alloc] initWithHitTestResult:defaultMenu->hitTestResult()] autorelease];
Note:
See TracChangeset
for help on using the changeset viewer.