summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/extensions/extension_install_ui_default.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/extensions/extension_install_ui_default.cc')
-rw-r--r--chrome/browser/ui/extensions/extension_install_ui_default.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/extensions/extension_install_ui_default.cc b/chrome/browser/ui/extensions/extension_install_ui_default.cc
index fca3f02..febe8c0 100644
--- a/chrome/browser/ui/extensions/extension_install_ui_default.cc
+++ b/chrome/browser/ui/extensions/extension_install_ui_default.cc
@@ -96,7 +96,7 @@ class ErrorInfoBarDelegate : public ConfirmInfoBarDelegate {
// static
void ErrorInfoBarDelegate::Create(InfoBarService* infobar_service,
const extensions::CrxInstallerError& error) {
- infobar_service->AddInfoBar(ConfirmInfoBarDelegate::CreateInfoBar(
+ infobar_service->AddInfoBar(infobar_service->CreateConfirmInfoBar(
scoped_ptr<ConfirmInfoBarDelegate>(new ErrorInfoBarDelegate(error))));
}