Index: chrome/browser/extensions/webstore_inline_installer.cc |
=================================================================== |
--- chrome/browser/extensions/webstore_inline_installer.cc (revision 137574) |
+++ chrome/browser/extensions/webstore_inline_installer.cc (working copy) |
@@ -380,10 +380,10 @@ |
web_contents()->GetBrowserContext()); |
scoped_ptr<WebstoreInstaller::Approval> approval( |
- WebstoreInstaller::Approval::CreateWithNoInstallPrompt( |
- profile, |
- id_, |
- scoped_ptr<base::DictionaryValue>(manifest_.get()->DeepCopy()))); |
+ new WebstoreInstaller::Approval); |
+ approval->extension_id = id_; |
+ approval->profile = profile; |
+ approval->parsed_manifest.reset(manifest_.get()->DeepCopy()); |
approval->use_app_installed_bubble = true; |
scoped_refptr<WebstoreInstaller> installer = new WebstoreInstaller( |