summaryrefslogtreecommitdiffstats
path: root/chromium-ungoogled/build/patches/chromium_slax_nobadflagsmessage.patch
blob: 5c180e91fd3bb4f473bedbd8543f868507671ed2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/chrome/browser/ui/startup/bad_flags_prompt.cc b/chrome/browser/ui/startup/bad_flags_prompt.cc
index c918686..c1c5d8b 100644
--- a/chrome/browser/ui/startup/bad_flags_prompt.cc
+++ b/chrome/browser/ui/startup/bad_flags_prompt.cc
@@ -192,11 +192,6 @@ void ShowBadFlagsInfoBarHelper(content::WebContents* web_contents,
   // animate the infobar to reduce noise in perf benchmarks because they pass
   // --ignore-certificate-errors-spki-list.  This infobar only appears at
   // startup so the animation isn't visible to users anyway.
-  CreateSimpleAlertInfoBar(
-      infobars::ContentInfoBarManager::FromWebContents(web_contents),
-      infobars::InfoBarDelegate::BAD_FLAGS_INFOBAR_DELEGATE, nullptr,
-      l10n_util::GetStringFUTF16(message_id, base::UTF8ToUTF16(flag)),
-      /*auto_expire=*/false, /*should_animate=*/false);
 }

 }  // namespace