Index: chrome/browser/cocoa/bookmark_bar_controller.mm |
=================================================================== |
--- chrome/browser/cocoa/bookmark_bar_controller.mm (revision 26448) |
+++ chrome/browser/cocoa/bookmark_bar_controller.mm (working copy) |
@@ -184,7 +184,7 @@ |
// Return nil if menuItem has no delegate. |
- (BookmarkNode*)nodeFromMenuItem:(id)menuItem { |
- NSCell* cell = [[menuItem menu] delegate]; |
+ NSCell* cell = reinterpret_cast<NSCell*>([[menuItem menu] delegate]); |
if (!cell) |
return nil; |
BookmarkNode* node = static_cast<BookmarkNode*>( |