Index: chrome/browser/download/download_request_infobar_delegate.cc |
diff --git a/chrome/browser/download/download_request_infobar_delegate.cc b/chrome/browser/download/download_request_infobar_delegate.cc |
index 85cf2e153965680abcadcd9efbbfb6b475a41d2f..d2d79548c46ba251f2c328204321237dcd01fa20 100644 |
--- a/chrome/browser/download/download_request_infobar_delegate.cc |
+++ b/chrome/browser/download/download_request_infobar_delegate.cc |
@@ -36,7 +36,7 @@ void DownloadRequestInfoBarDelegate::Create( |
// "downloads" permission) to automatically download >1 files. |
host->Cancel(); |
} else { |
- infobar_service->AddInfoBar(ConfirmInfoBarDelegate::CreateInfoBar( |
+ infobar_service->AddInfoBar(infobar_service->CreateConfirmInfoBar( |
scoped_ptr<ConfirmInfoBarDelegate>( |
new DownloadRequestInfoBarDelegate(host)))); |
} |