Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4248)

Unified Diff: chrome/browser/ui/cocoa/download/download_item_cell.mm

Issue 6121004: Remove wstring from gfx. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/download/download_item_cell.mm
===================================================================
--- chrome/browser/ui/cocoa/download/download_item_cell.mm (revision 71043)
+++ chrome/browser/ui/cocoa/download/download_item_cell.mm (working copy)
@@ -394,7 +394,7 @@
- (NSString*)elideTitle:(int)availableWidth {
NSFont* font = [self font];
- gfx::Font font_chr(base::SysNSStringToWide([font fontName]),
+ gfx::Font font_chr(base::SysNSStringToUTF16([font fontName]),
[font pointSize]);
return base::SysUTF16ToNSString(
@@ -403,7 +403,7 @@
- (NSString*)elideStatus:(int)availableWidth {
NSFont* font = [self secondaryFont];
- gfx::Font font_chr(base::SysNSStringToWide([font fontName]),
+ gfx::Font font_chr(base::SysNSStringToUTF16([font fontName]),
[font pointSize]);
return base::SysUTF16ToNSString(ElideText(

Powered by Google App Engine
This is Rietveld 408576698