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 95dfcd6c769b49ec1541dc3c8a5bcb12402a7e33..652cd80c947e7bf46279e84158f614580bf31595 100644 |
--- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc |
+++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc |
@@ -240,7 +240,7 @@ bool WebstorePrivateInstallBundleFunction:: |
void WebstorePrivateInstallBundleFunction::OnBundleInstallApproved() { |
bundle_->CompleteInstall( |
- &(dispatcher()->delegate()->GetAssociatedWebContents()->GetController()), |
+ dispatcher()->delegate()->GetAssociatedWebContents(), |
this); |
} |
@@ -570,7 +570,7 @@ bool WebstorePrivateCompleteInstallFunction::RunImpl() { |
scoped_refptr<WebstoreInstaller> installer = new WebstoreInstaller( |
GetProfile(), |
this, |
- &(dispatcher()->delegate()->GetAssociatedWebContents()->GetController()), |
+ dispatcher()->delegate()->GetAssociatedWebContents(), |
params->expected_id, |
approval_.Pass(), |
WebstoreInstaller::INSTALL_SOURCE_OTHER); |