summaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-chrome_browser_themes_theme__helper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron13/files/patch-chrome_browser_themes_theme__helper.cc')
-rw-r--r--devel/electron13/files/patch-chrome_browser_themes_theme__helper.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-chrome_browser_themes_theme__helper.cc b/devel/electron13/files/patch-chrome_browser_themes_theme__helper.cc
new file mode 100644
index 000000000000..8482abb6baa3
--- /dev/null
+++ b/devel/electron13/files/patch-chrome_browser_themes_theme__helper.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/themes/theme_helper.cc.orig 2021-07-15 19:13:34 UTC
++++ chrome/browser/themes/theme_helper.cc
+@@ -289,7 +289,7 @@ bool ThemeHelper::ShouldUseIncreasedContrastThemeSuppl
+ ui::NativeTheme* native_theme) const {
+ // TODO(crbug.com/1052397): Revisit once build flag switch of lacros-chrome is
+ // complete.
+-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
++#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD)
+ // On Linux the GTK system theme provides the high contrast colors,
+ // so don't use the IncreasedContrastThemeSupplier.
+ return false;