diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-19 18:54:12 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-19 18:54:12 +0000 |
commit | 0dfa9a181d79451e58b1c157cd74cb47f4494bc9 (patch) | |
tree | 2bfc25c0696e1a1183185430aa8914077af4d649 | |
parent | 0325ef622fe88f58c49fd3137b9660ac0320e229 (diff) | |
download | chromium_src-0dfa9a181d79451e58b1c157cd74cb47f4494bc9.zip chromium_src-0dfa9a181d79451e58b1c157cd74cb47f4494bc9.tar.gz chromium_src-0dfa9a181d79451e58b1c157cd74cb47f4494bc9.tar.bz2 |
Revert accidental commenting-out of download_util.cc parts.
This is a follow-up after http://codereview.chromium.org/3826014
TBR=sky
BUG=59365
TEST=see bug
Review URL: http://codereview.chromium.org/3880001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63078 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/download/download_util.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/download/download_util.cc b/chrome/browser/download/download_util.cc index 34b62df..a0cd265 100644 --- a/chrome/browser/download/download_util.cc +++ b/chrome/browser/download/download_util.cc @@ -619,12 +619,12 @@ void UpdateAppIconDownloadProgress(int download_count, for (BrowserList::const_iterator browser_iterator = BrowserList::begin(); browser_iterator != BrowserList::end(); browser_iterator++) { HWND frame = (*browser_iterator)->window()->GetNativeHandle(); - /*if (download_count == 0 || progress == 1.0f) + if (download_count == 0 || progress == 1.0f) taskbar->SetProgressState(frame, TBPF_NOPROGRESS); else if (!progress_known) taskbar->SetProgressState(frame, TBPF_INDETERMINATE); else - taskbar->SetProgressValue(frame, (int)(progress * 100), 100);*/ + taskbar->SetProgressValue(frame, (int)(progress * 100), 100); } #endif } |