Index: chrome/browser/ui/cocoa/download/download_item_cell.mm |
=================================================================== |
--- chrome/browser/ui/cocoa/download/download_item_cell.mm (revision 70233) |
+++ chrome/browser/ui/cocoa/download/download_item_cell.mm (working copy) |
@@ -237,14 +237,14 @@ |
// Set the name of the download. |
downloadPath_ = downloadModel->download()->GetFileNameToReportUser(); |
- std::wstring statusText = downloadModel->GetStatusText(); |
+ string16 statusText = downloadModel->GetStatusText(); |
if (statusText.empty()) { |
// Remove the status text label. |
[self hideSecondaryTitle]; |
isStatusTextVisible_ = NO; |
} else { |
// Set status text. |
- NSString* statusString = base::SysWideToNSString(statusText); |
+ NSString* statusString = base::SysUTF16ToNSString(statusText); |
[self setSecondaryTitle:statusString]; |
isStatusTextVisible_ = YES; |
} |