Index: chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc |
diff --git a/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc b/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc |
index 6e0633252394942df90df0d456f8261fbb48567c..e25ba6b8e5059e5f9b111419fbf19567495a3c33 100644 |
--- a/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc |
+++ b/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc |
@@ -24,7 +24,7 @@ void RegisterProtocolHandlerInfoBarDelegate::Create( |
base::UserMetricsAction("RegisterProtocolHandler.InfoBar_Shown")); |
scoped_ptr<infobars::InfoBar> infobar( |
- ConfirmInfoBarDelegate::CreateInfoBar(scoped_ptr<ConfirmInfoBarDelegate>( |
+ infobar_service->CreateConfirmInfoBar(scoped_ptr<ConfirmInfoBarDelegate>( |
new RegisterProtocolHandlerInfoBarDelegate(registry, handler)))); |
for (size_t i = 0; i < infobar_service->infobar_count(); ++i) { |