1 --- src/3rdparty/chromium/ui/gfx/font_util.cc.orig	2025-08-15 18:30:00 UTC
2 +++ src/3rdparty/chromium/ui/gfx/font_util.cc
3 @@ -6,7 +6,7 @@
4 
5  #include "build/build_config.h"
6 
7 -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
8 +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
9  #include <fontconfig/fontconfig.h>
10  #include "ui/gfx/linux/fontconfig_util.h"
11  #endif
12 @@ -24,7 +24,7 @@ void InitializeFonts() {
13    // background (resources have not yet been granted to cast) since it prevents
14    // the long delay the user would have seen on first rendering.
15 
16 -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
17 +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
18    // Early initialize FontConfig.
19    InitializeGlobalFontConfigAsync();
20  #endif  // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
21