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

Unified Diff: chrome/browser/extensions/api/webstore_private/webstore_private_api.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
« no previous file with comments | « no previous file | chrome/browser/extensions/bundle_installer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
diff --git a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
index 1a20ed9c89f93c5f018a9f30041cb152afe7487f..a5f3225d972810d64d2a41c8b90c6cc37165f740 100644
--- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
+++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
@@ -569,13 +569,13 @@ bool WebstorePrivateCompleteInstallFunction::RunImpl() {
// The extension will install through the normal extension install flow, but
// the whitelist entry will bypass the normal permissions install dialog.
- scoped_refptr<WebstoreInstaller> installer = new WebstoreInstaller(
- GetProfile(),
- this,
- &(dispatcher()->delegate()->GetAssociatedWebContents()->GetController()),
- params->expected_id,
- approval_.Pass(),
- WebstoreInstaller::INSTALL_SOURCE_OTHER);
+ scoped_refptr<WebstoreInstaller> installer =
+ new WebstoreInstaller(GetProfile(),
+ this,
+ GetAssociatedWebContents(),
tmdiep 2014/02/11 23:27:34 Thanks for investigating this issue and submitting
+ params->expected_id,
+ approval_.Pass(),
+ WebstoreInstaller::INSTALL_SOURCE_OTHER);
installer->Start();
return true;
« no previous file with comments | « no previous file | chrome/browser/extensions/bundle_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698