diff options
Diffstat (limited to 'chrome/browser/cocoa/download/download_item_cell.mm')
-rw-r--r-- | chrome/browser/cocoa/download/download_item_cell.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/download/download_item_cell.mm b/chrome/browser/cocoa/download/download_item_cell.mm index 997821a..c286669 100644 --- a/chrome/browser/cocoa/download/download_item_cell.mm +++ b/chrome/browser/cocoa/download/download_item_cell.mm @@ -407,8 +407,8 @@ NSGradient* BackgroundTheme::GetNSGradient(int id) const { gfx::Font font_chr(base::SysNSStringToWide([font fontName]), [font pointSize]); - return base::SysWideToNSString(ElideText( - base::SysNSStringToWide([self secondaryTitle]), + return base::SysUTF16ToNSString(ElideText( + base::SysNSStringToUTF16([self secondaryTitle]), font_chr, availableWidth, false)); |