Index: chrome/browser/download/save_package.cc |
diff --git a/chrome/browser/download/save_package.cc b/chrome/browser/download/save_package.cc |
index 23c062c83cfbeaa987c88abdc3c303940f8d46df..defa09b15f1b93d52f8c38a6f1b11f0b142e74b6 100644 |
--- a/chrome/browser/download/save_package.cc |
+++ b/chrome/browser/download/save_package.cc |
@@ -687,8 +687,9 @@ void SavePackage::Finish() { |
save_ids)); |
download_->OnAllDataSaved(all_save_items_count_); |
+ download_->MarkAsComplete(); |
// Notify download observers that we are complete (the call |
- // to OnAllDataSaved() set the state to complete but did not notify). |
+ // to OnReadyToFinish() set the state to complete but did not notify). |
download_->UpdateObservers(); |
NotificationService::current()->Notify( |