| Index: chrome/browser/automation/testing_automation_provider.cc
|
| diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
|
| index 8480c30c75864fe258882f2e174fa49b1ebb86c0..b5e564ed67635537168ca1fdd354242f25235630 100644
|
| --- a/chrome/browser/automation/testing_automation_provider.cc
|
| +++ b/chrome/browser/automation/testing_automation_provider.cc
|
| @@ -3946,8 +3946,8 @@ void TestingAutomationProvider::InstallExtension(
|
| // If the given path has a 'crx' extension, assume it is a packed extension
|
| // and install it. Otherwise load it as an unpacked extension.
|
| if (extension_path.MatchesExtension(FILE_PATH_LITERAL(".crx"))) {
|
| - ExtensionInstallUI* client =
|
| - (with_ui ? new ExtensionInstallUI(browser->profile()) : NULL);
|
| + ExtensionInstallPrompt* client =
|
| + (with_ui ? new ExtensionInstallPrompt(browser->profile()) : NULL);
|
| scoped_refptr<CrxInstaller> installer(
|
| CrxInstaller::Create(service, client));
|
| if (!with_ui)
|
|
|