diff options
author | glen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-29 22:20:40 +0000 |
---|---|---|
committer | glen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-29 22:20:40 +0000 |
commit | 22fbe5aa7bf2f31b35d0fc5d695316066a53518d (patch) | |
tree | e5672d68963c0d5665f46d1eb0db217431434dd9 /chrome/browser | |
parent | 82cf6c7f4661d2bca37325a79e7276c0fb94c51c (diff) | |
download | chromium_src-22fbe5aa7bf2f31b35d0fc5d695316066a53518d.zip chromium_src-22fbe5aa7bf2f31b35d0fc5d695316066a53518d.tar.gz chromium_src-22fbe5aa7bf2f31b35d0fc5d695316066a53518d.tar.bz2 |
Fix for Save Page downloads not notifying their observers on completion.
BUG=3417
Review URL: http://codereview.chromium.org/8804
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4177 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/download/download_manager.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/download/download_manager.cc b/chrome/browser/download/download_manager.cc index 402fab1..8e10b86 100644 --- a/chrome/browser/download/download_manager.cc +++ b/chrome/browser/download/download_manager.cc @@ -214,6 +214,7 @@ void DownloadItem::Cancel(bool update_history) { void DownloadItem::Finished(int64 size) { state_ = COMPLETE; UpdateSize(size); + UpdateObservers(); StopProgressTimer(); } |