| 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..feaa58fc0c9bf35e9180b33db542ac6b8ed2f4c3 100644
|
| --- a/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc
|
| +++ b/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc
|
| @@ -23,8 +23,9 @@ void RegisterProtocolHandlerInfoBarDelegate::Create(
|
| content::RecordAction(
|
| base::UserMetricsAction("RegisterProtocolHandler.InfoBar_Shown"));
|
|
|
| - scoped_ptr<infobars::InfoBar> infobar(
|
| - ConfirmInfoBarDelegate::CreateInfoBar(scoped_ptr<ConfirmInfoBarDelegate>(
|
| + scoped_ptr<infobars::InfoBar> infobar(ConfirmInfoBarDelegate::CreateInfoBar(
|
| + infobar_service,
|
| + scoped_ptr<ConfirmInfoBarDelegate>(
|
| new RegisterProtocolHandlerInfoBarDelegate(registry, handler))));
|
|
|
| for (size_t i = 0; i < infobar_service->infobar_count(); ++i) {
|
|
|