| 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 b61c0ae62a2ab5c452fa257b609e642387a7d83f..cd517539a7f2d97107c271a4f5194b06be5ff999 100644
|
| --- a/chrome/browser/automation/testing_automation_provider.cc
|
| +++ b/chrome/browser/automation/testing_automation_provider.cc
|
| @@ -3974,8 +3974,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)
|
|
|