| Index: chrome/browser/extensions/bundle_installer.cc
|
| diff --git a/chrome/browser/extensions/bundle_installer.cc b/chrome/browser/extensions/bundle_installer.cc
|
| index db915d4c0da5fec068020c8ad877121072e3725a..68a92bb9a7333cc193cd873fa99d076cfcbc7703 100644
|
| --- a/chrome/browser/extensions/bundle_installer.cc
|
| +++ b/chrome/browser/extensions/bundle_installer.cc
|
| @@ -266,12 +266,8 @@ void BundleInstaller::ShowPrompt() {
|
| } else if (g_auto_approve_for_test == ABORT) {
|
| InstallUIAbort(true);
|
| } else {
|
| - ExtensionInstallUI::Prompt prompt(
|
| - ExtensionInstallUI::BUNDLE_INSTALL_PROMPT);
|
| - prompt.SetPermissions(permissions->GetWarningMessages());
|
| - prompt.set_bundle(this);
|
| -
|
| - ShowExtensionInstallDialog(profile_, this, prompt);
|
| + install_ui_.reset(new ExtensionInstallUI(profile_));
|
| + install_ui_->ConfirmBundleInstall(this, permissions);
|
| }
|
| }
|
|
|
|
|