diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-28 23:29:42 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-28 23:29:42 +0000 |
commit | 42197a2a59f7d74ab299dce1be5c7831c3bf49b0 (patch) | |
tree | bbeac88b36d834a55f0f01eb85326dc012e0f1fa /chrome/browser/ui/cocoa/download/download_item_cell.mm | |
parent | f61ba8cfb9b5ef812c131de7860433cd832a60ff (diff) | |
download | chromium_src-42197a2a59f7d74ab299dce1be5c7831c3bf49b0.zip chromium_src-42197a2a59f7d74ab299dce1be5c7831c3bf49b0.tar.gz chromium_src-42197a2a59f7d74ab299dce1be5c7831c3bf49b0.tar.bz2 |
Remove wstring from l10n_util. Part 2.
BUG=9911
TEST=no visible changes; all tests pass
Review URL: http://codereview.chromium.org/5959008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70242 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/cocoa/download/download_item_cell.mm')
-rw-r--r-- | chrome/browser/ui/cocoa/download/download_item_cell.mm | 4 |
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; } |