diff options
Diffstat (limited to 'www/chromium-uc/patches/patch-ui_base_ui_base_features_cc')
| -rw-r--r-- | www/chromium-uc/patches/patch-ui_base_ui_base_features_cc | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/www/chromium-uc/patches/patch-ui_base_ui_base_features_cc b/www/chromium-uc/patches/patch-ui_base_ui_base_features_cc new file mode 100644 index 0000000..9305fdd --- /dev/null +++ b/www/chromium-uc/patches/patch-ui_base_ui_base_features_cc | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | $OpenBSD: patch-ui_base_ui_base_features_cc,v 1.22 2021/11/16 11:28:47 robert Exp $ | ||
| 2 | |||
| 3 | Index: ui/base/ui_base_features.cc | ||
| 4 | --- ui/base/ui_base_features.cc.orig | ||
| 5 | +++ ui/base/ui_base_features.cc | ||
| 6 | @@ -151,7 +151,7 @@ const base::Feature kExperimentalFlingAnimation { | ||
| 7 | // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch | ||
| 8 | // of lacros-chrome is complete. | ||
| 9 | #if defined(OS_WIN) || (defined(OS_LINUX) && !BUILDFLAG(IS_CHROMEOS_ASH) && \ | ||
| 10 | - !BUILDFLAG(IS_CHROMEOS_LACROS)) | ||
| 11 | + !BUILDFLAG(IS_CHROMEOS_LACROS)) || defined(OS_BSD) | ||
| 12 | base::FEATURE_ENABLED_BY_DEFAULT | ||
| 13 | #else | ||
| 14 | base::FEATURE_DISABLED_BY_DEFAULT | ||
| 15 | @@ -235,7 +235,7 @@ bool IsForcedColorsEnabled() { | ||
| 16 | // milestones. | ||
| 17 | const base::Feature kEyeDropper { | ||
| 18 | "EyeDropper", | ||
| 19 | -#if defined(OS_WIN) || defined(OS_MAC) || defined(OS_LINUX) | ||
| 20 | +#if defined(OS_WIN) || defined(OS_MAC) || defined(OS_LINUX) || defined(OS_BSD) | ||
| 21 | base::FEATURE_ENABLED_BY_DEFAULT | ||
| 22 | #else | ||
| 23 | base::FEATURE_DISABLED_BY_DEFAULT | ||
