diff options
Diffstat (limited to 'chrome/browser/infobars/infobars_browsertest.cc')
| -rw-r--r-- | chrome/browser/infobars/infobars_browsertest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/infobars/infobars_browsertest.cc b/chrome/browser/infobars/infobars_browsertest.cc index 6eedec0..495413b 100644 --- a/chrome/browser/infobars/infobars_browsertest.cc +++ b/chrome/browser/infobars/infobars_browsertest.cc @@ -38,7 +38,7 @@ class InfoBarsTest : public InProcessBrowserTest { chrome::NOTIFICATION_EXTENSION_LOADED, content::NotificationService::AllSources()); - ExtensionInstallPrompt* client = new ExtensionInstallPrompt(profile); + ExtensionInstallPrompt* client = new ExtensionInstallPrompt(browser()); scoped_refptr<CrxInstaller> installer( CrxInstaller::Create(service, client)); installer->set_install_cause(extension_misc::INSTALL_CAUSE_AUTOMATION); |
