aboutsummaryrefslogtreecommitdiffstats
path: root/devel/electron39/files/patch-ui_base_ui__base__switches.h
blob: 6f00cfd9591faa7c6e2c6f1b035b0c40f33d887d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- ui/base/ui_base_switches.h.orig	2025-10-21 20:19:54 UTC
+++ ui/base/ui_base_switches.h
@@ -37,13 +37,13 @@ inline constexpr char kShowMacOverlayBorders[] = "show
 inline constexpr char kShowMacOverlayBorders[] = "show-mac-overlay-borders";
 #endif
 
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
 // Specifies system font family name. Improves determinism when rendering pages
 // in headless mode.
 inline constexpr char kSystemFontFamily[] = "system-font-family";
 #endif
 
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
 // Specify the toolkit used to construct the Linux GUI.
 inline constexpr char kUiToolkitFlag[] = "ui-toolkit";
 // Specify the GTK version to be loaded.