Index: chrome/browser/extensions/crx_installer.cc |
diff --git a/chrome/browser/extensions/crx_installer.cc b/chrome/browser/extensions/crx_installer.cc |
index e5a008fecad9a9070f75fd00e135cac8bfe2b33f..126a7cea090543843e3d5a9fb8b5827f01966e6c 100644 |
--- a/chrome/browser/extensions/crx_installer.cc |
+++ b/chrome/browser/extensions/crx_installer.cc |
@@ -120,6 +120,7 @@ CrxInstaller::CrxInstaller(base::WeakPtr<ExtensionService> frontend_weak, |
delete_source_(false), |
is_gallery_install_(false), |
create_app_shortcut_(false), |
+ page_index_(0), |
frontend_weak_(frontend_weak), |
client_(client), |
apps_require_extension_mime_type_(false), |
@@ -563,7 +564,8 @@ void CrxInstaller::ReportSuccessFromUIThread() { |
// Tell the frontend about the installation and hand off ownership of |
// extension_ to it. |
- frontend_weak_->OnExtensionInstalled(extension_, is_gallery_install()); |
+ frontend_weak_->OnExtensionInstalled(extension_, is_gallery_install(), |
+ page_index_); |
extension_ = NULL; |
NotifyCrxInstallComplete(); |