diff options
-rw-r--r-- | ui/app_list/cocoa/apps_grid_view_item.mm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/app_list/cocoa/apps_grid_view_item.mm b/ui/app_list/cocoa/apps_grid_view_item.mm index ccd6b80..08304da 100644 --- a/ui/app_list/cocoa/apps_grid_view_item.mm +++ b/ui/app_list/cocoa/apps_grid_view_item.mm @@ -458,4 +458,11 @@ void ItemModelObserverBridge::ItemPercentDownloadedChanged() { inView:controlView]; } +// Workaround for http://crbug.com/324365: AppKit in Mavericks tries to call +// - [NSButtonCell item] when inspecting accessibility. Without this, an +// unrecognized selector exception is thrown inside AppKit, crashing Chrome. +- (id)item { + return nil; +} + @end |