| Index: chrome/browser/ui/chrome_select_file_policy.cc
|
| diff --git a/chrome/browser/ui/chrome_select_file_policy.cc b/chrome/browser/ui/chrome_select_file_policy.cc
|
| index fe0a00493be54df4c7999340c85e3e27e08f1c9a..86db3155c4b6131854581fca74ae14b4030078af 100644
|
| --- a/chrome/browser/ui/chrome_select_file_policy.cc
|
| +++ b/chrome/browser/ui/chrome_select_file_policy.cc
|
| @@ -30,7 +30,8 @@ void ChromeSelectFilePolicy::SelectFileDenied() {
|
| // Show the InfoBar saying that file-selection dialogs are disabled.
|
| if (source_contents_) {
|
| SimpleAlertInfoBarDelegate::Create(
|
| - InfoBarService::FromWebContents(source_contents_), NULL,
|
| + InfoBarService::FromWebContents(source_contents_),
|
| + InfoBarDelegate::kNoIconID,
|
| l10n_util::GetStringUTF16(IDS_FILE_SELECTION_DIALOG_INFOBAR), true);
|
| } else {
|
| LOG(WARNING) << "File-selection dialogs are disabled but no WebContents "
|
|
|