diff options
Diffstat (limited to 'chrome/browser/ui/cocoa/bookmarks/bookmark_menu_cocoa_controller.mm')
-rw-r--r-- | chrome/browser/ui/cocoa/bookmarks/bookmark_menu_cocoa_controller.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_menu_cocoa_controller.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_menu_cocoa_controller.mm index 1d2fb2d..c797992 100644 --- a/chrome/browser/ui/cocoa/bookmarks/bookmark_menu_cocoa_controller.mm +++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_menu_cocoa_controller.mm @@ -27,7 +27,7 @@ const NSUInteger kMaximumMenuPixelsWide = 300; + (NSString*)menuTitleForNode:(const BookmarkNode*)node { NSFont* nsfont = [NSFont menuBarFontOfSize:0]; // 0 means "default" - gfx::Font font(base::SysNSStringToWide([nsfont fontName]), + gfx::Font font(base::SysNSStringToUTF16([nsfont fontName]), static_cast<int>([nsfont pointSize])); string16 title = gfx::ElideText(node->GetTitle(), font, |