Index: chrome/browser/extensions/webstore_inline_installer.cc |
diff --git a/chrome/browser/extensions/webstore_inline_installer.cc b/chrome/browser/extensions/webstore_inline_installer.cc |
index e563905f5efe24db98d26e7da7c352754552fc90..8b7df4773f6dca8fa95049bbdbabb9fa40f3461e 100644 |
--- a/chrome/browser/extensions/webstore_inline_installer.cc |
+++ b/chrome/browser/extensions/webstore_inline_installer.cc |
@@ -380,10 +380,10 @@ void WebstoreInlineInstaller::InstallUIProceed() { |
web_contents()->GetBrowserContext()); |
scoped_ptr<WebstoreInstaller::Approval> approval( |
- new WebstoreInstaller::Approval); |
- approval->extension_id = id_; |
- approval->profile = profile; |
- approval->parsed_manifest.reset(manifest_.get()->DeepCopy()); |
+ WebstoreInstaller::Approval::CreateWithNoInstallPrompt( |
+ profile, |
+ id_, |
+ scoped_ptr<base::DictionaryValue>(manifest_.get()->DeepCopy()))); |
approval->use_app_installed_bubble = true; |
scoped_refptr<WebstoreInstaller> installer = new WebstoreInstaller( |