summaryrefslogtreecommitdiff
path: root/www/chromium-uc/patches/patch-ui_gfx_font_util_cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium-uc/patches/patch-ui_gfx_font_util_cc')
-rw-r--r--www/chromium-uc/patches/patch-ui_gfx_font_util_cc23
1 files changed, 0 insertions, 23 deletions
diff --git a/www/chromium-uc/patches/patch-ui_gfx_font_util_cc b/www/chromium-uc/patches/patch-ui_gfx_font_util_cc
deleted file mode 100644
index 8fcc5fb..0000000
--- a/www/chromium-uc/patches/patch-ui_gfx_font_util_cc
+++ /dev/null
@@ -1,23 +0,0 @@
1$OpenBSD: patch-ui_gfx_font_util_cc,v 1.2 2020/10/22 13:52:55 robert Exp $
2
3Index: ui/gfx/font_util.cc
4--- ui/gfx/font_util.cc.orig
5+++ ui/gfx/font_util.cc
6@@ -6,7 +6,7 @@
7
8 #include "build/build_config.h"
9
10-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
11+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
12 #include <fontconfig/fontconfig.h>
13 #include "ui/gfx/linux/fontconfig_util.h"
14 #endif
15@@ -24,7 +24,7 @@ void InitializeFonts() {
16 // background (resources have not yet been granted to cast) since it prevents
17 // the long delay the user would have seen on first rendering.
18
19-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
20+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
21 // Ensures the config is created on this thread.
22 FcConfig* config = GetGlobalFontConfig();
23 DCHECK(config);