| Index: content/browser/download/save_package.cc
|
| diff --git a/content/browser/download/save_package.cc b/content/browser/download/save_package.cc
|
| index 1be1da452d577947f8b622da26438544df9b56dd..c074d1e585fb5380af176aec581b6fd9a799f6e0 100644
|
| --- a/content/browser/download/save_package.cc
|
| +++ b/content/browser/download/save_package.cc
|
| @@ -1392,16 +1392,7 @@ void SavePackage::FinalizeDownloadEntry() {
|
| DCHECK(download_);
|
| DCHECK(download_manager_);
|
|
|
| - NotificationService::current()->Notify(
|
| - NOTIFICATION_SAVE_PACKAGE_SUCCESSFULLY_FINISHED,
|
| - // We use the DownloadManager as the source as that's a
|
| - // central SavePackage related location that observers can
|
| - // get to if they want to wait for notifications for a
|
| - // particular BrowserContext. Alternatively, we could make
|
| - // it come from the WebContents, which would be more specific
|
| - // but less useful to (current) customers.
|
| - Source<DownloadManager>(download_manager_),
|
| - Details<DownloadItem>(download_));
|
| + download_manager_->OnSavePackageSuccessfullyFinished(download_);
|
| StopObservation();
|
| }
|
|
|
|
|