diff options
-rw-r--r-- | chromium-ungoogled/build/patches/chromium_slax_nobadflagsmessage.patch | 16 | ||||
-rw-r--r-- | chromium/build/patches/chromium_slax_nobadflagsmessage.patch | 16 |
2 files changed, 32 insertions, 0 deletions
diff --git a/chromium-ungoogled/build/patches/chromium_slax_nobadflagsmessage.patch b/chromium-ungoogled/build/patches/chromium_slax_nobadflagsmessage.patch new file mode 100644 index 00000000..5c180e91 --- /dev/null +++ b/chromium-ungoogled/build/patches/chromium_slax_nobadflagsmessage.patch @@ -0,0 +1,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 diff --git a/chromium/build/patches/chromium_slax_nobadflagsmessage.patch b/chromium/build/patches/chromium_slax_nobadflagsmessage.patch new file mode 100644 index 00000000..5c180e91 --- /dev/null +++ b/chromium/build/patches/chromium_slax_nobadflagsmessage.patch @@ -0,0 +1,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 |