summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download
diff options
context:
space:
mode:
authorpaul@chromium.org <paul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-06 21:12:35 +0000
committerpaul@chromium.org <paul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-06 21:12:35 +0000
commit2ed12962c41bcb40078d4d5364f8d94dd8fcb9b6 (patch)
tree768edae06feeb8505fbd89a0bdd58955f8d7a78c /chrome/browser/download
parent79a9d2969a4b34d2ecd7051ac08a19a2ec92e0e2 (diff)
downloadchromium_src-2ed12962c41bcb40078d4d5364f8d94dd8fcb9b6.zip
chromium_src-2ed12962c41bcb40078d4d5364f8d94dd8fcb9b6.tar.gz
chromium_src-2ed12962c41bcb40078d4d5364f8d94dd8fcb9b6.tar.bz2
Remove the size of a cancelled download in the download shelf.
Patch created by Thiago Farina, original CL: http://codereview.chromium.org/160465 BUG=17180 (http://crbug.com/17180) TEST=Download some file, then cancel it and notice the shelf UI does not any longer display the size of download. Review URL: http://codereview.chromium.org/165073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22666 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download')
-rw-r--r--chrome/browser/download/download_item_model.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/download/download_item_model.cc b/chrome/browser/download/download_item_model.cc
index 15fc3fd..6d45f93 100644
--- a/chrome/browser/download/download_item_model.cc
+++ b/chrome/browser/download/download_item_model.cc
@@ -80,8 +80,7 @@ std::wstring DownloadItemModel::GetStatusText() {
status_text.clear();
break;
case DownloadItem::CANCELLED:
- status_text = l10n_util::GetStringF(IDS_DOWNLOAD_STATUS_CANCELLED,
- simple_size);
+ status_text = l10n_util::GetString(IDS_DOWNLOAD_STATUS_CANCELLED);
break;
case DownloadItem::REMOVING:
break;