diff options
Diffstat (limited to 'devel/electron33/files/patch-chrome_browser_chrome__browser__field__trials.cc')
-rw-r--r-- | devel/electron33/files/patch-chrome_browser_chrome__browser__field__trials.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron33/files/patch-chrome_browser_chrome__browser__field__trials.cc b/devel/electron33/files/patch-chrome_browser_chrome__browser__field__trials.cc new file mode 100644 index 000000000000..712a138d9daa --- /dev/null +++ b/devel/electron33/files/patch-chrome_browser_chrome__browser__field__trials.cc @@ -0,0 +1,20 @@ +--- chrome/browser/chrome_browser_field_trials.cc.orig 2024-08-14 20:54:34 UTC ++++ chrome/browser/chrome_browser_field_trials.cc +@@ -48,7 +48,7 @@ + #include "chrome/browser/ui/startup/default_browser_prompt/default_browser_prompt_trial.h" + #endif + +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + #include "base/nix/xdg_util.h" + #include "ui/base/ui_base_features.h" + #endif // BUILDFLAG(IS_LINUX) +@@ -155,7 +155,7 @@ void ChromeBrowserFieldTrials::RegisterSyntheticTrials + #endif + } + +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + // On Linux/Desktop platform variants, such as ozone/wayland, some features + // might need to be disabled as per OzonePlatform's runtime properties. + // OzonePlatform selection and initialization, in turn, depend on Chrome flags |