Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1400)

Unified Diff: chrome/browser/extensions/bundle_installer.cc

Issue 145873003: Fix for 165634 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}
}

Powered by Google App Engine
This is Rietveld 408576698