| Index: chrome/browser/extensions/bundle_installer.cc
|
| diff --git a/chrome/browser/extensions/bundle_installer.cc b/chrome/browser/extensions/bundle_installer.cc
|
| index 88cf2394447f091b871934238fa11e4ad632051a..1b706ac548519aec25c7bc2dea05c299b721865f 100644
|
| --- a/chrome/browser/extensions/bundle_installer.cc
|
| +++ b/chrome/browser/extensions/bundle_installer.cc
|
| @@ -165,13 +165,13 @@ void BundleInstaller::CompleteInstall(NavigationController* controller,
|
| approval->use_app_installed_bubble = false;
|
| approval->skip_post_install_ui = true;
|
|
|
| - scoped_refptr<WebstoreInstaller> installer = new WebstoreInstaller(
|
| - profile_,
|
| - this,
|
| - controller,
|
| - i->first,
|
| - approval.Pass(),
|
| - WebstoreInstaller::INSTALL_SOURCE_OTHER);
|
| + scoped_refptr<WebstoreInstaller> installer =
|
| + new WebstoreInstaller(profile_,
|
| + this,
|
| + controller->GetWebContents(),
|
| + i->first,
|
| + approval.Pass(),
|
| + WebstoreInstaller::INSTALL_SOURCE_OTHER);
|
| installer->Start();
|
| }
|
| }
|
|
|