summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/download
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/cocoa/download')
-rw-r--r--chrome/browser/ui/cocoa/download/download_item_cell.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/cocoa/download/download_item_cell.mm b/chrome/browser/ui/cocoa/download/download_item_cell.mm
index b83d6f5..d2a8335 100644
--- a/chrome/browser/ui/cocoa/download/download_item_cell.mm
+++ b/chrome/browser/ui/cocoa/download/download_item_cell.mm
@@ -237,14 +237,14 @@ NSGradient* BackgroundTheme::GetNSGradient(int id) const {
// 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;
}