Index: chrome/browser/ui/intents/web_intent_picker_controller.cc |
=================================================================== |
--- chrome/browser/ui/intents/web_intent_picker_controller.cc (revision 137574) |
+++ chrome/browser/ui/intents/web_intent_picker_controller.cc (working copy) |
@@ -308,13 +308,10 @@ |
void WebIntentPickerController::OnExtensionInstallRequested( |
const std::string& id) { |
- scoped_ptr<WebstoreInstaller::Approval> approval( |
- WebstoreInstaller::Approval::CreateWithInstallPrompt( |
- wrapper_->profile())); |
- |
scoped_refptr<WebstoreInstaller> installer = new WebstoreInstaller( |
wrapper_->profile(), this, &wrapper_->web_contents()->GetController(), id, |
- approval.Pass(), WebstoreInstaller::FLAG_INLINE_INSTALL); |
+ scoped_ptr<WebstoreInstaller::Approval>(NULL), |
+ WebstoreInstaller::FLAG_INLINE_INSTALL); |
pending_async_count_++; |
installer->Start(); |