Index: chrome/browser/download/save_package.cc |
diff --git a/chrome/browser/download/save_package.cc b/chrome/browser/download/save_package.cc |
index cf9d4dc96df7706b52c1690cee3654053b6aad01..d18099cd6085e37217ff196b3c63f2ce33d134de 100644 |
--- a/chrome/browser/download/save_package.cc |
+++ b/chrome/browser/download/save_package.cc |
@@ -34,6 +34,7 @@ |
#include "chrome/browser/prefs/pref_service.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/tab_contents/tab_util.h" |
+#include "chrome/browser/ui/download/download_tab_helper.h" |
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
#include "chrome/common/chrome_paths.h" |
#include "chrome/common/pref_names.h" |
@@ -326,7 +327,7 @@ bool SavePackage::Init() { |
// to be alive as long as the Profile is alive. |
download_manager->SavePageAsDownloadStarted(download_); |
- tab_contents()->OnStartDownload(download_); |
+ wrapper_->download_tab_helper()->OnStartDownload(download_); |
// Check save type and process the save page job. |
if (save_type_ == SAVE_AS_COMPLETE_HTML) { |