$OpenBSD: patch-third_party_WebKit_Source_platform_fonts_FontCache_h,v 1.7 2018/06/06 07:50:54 robert Exp $

Index: third_party/blink/renderer/platform/fonts/font_cache.h
--- third_party/blink/renderer/platform/fonts/font_cache.h.orig
+++ third_party/blink/renderer/platform/fonts/font_cache.h
@@ -213,7 +213,7 @@ class PLATFORM_EXPORT FontCache {
       const FontDescription&);
 #endif  // defined(OS_ANDROID)
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   struct PlatformFallbackFont {
     String name;
     CString filename;
@@ -287,7 +287,7 @@ class PLATFORM_EXPORT FontCache {
                                const FontFaceCreationParams&,
                                CString& name);
 
-#if defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_FUCHSIA)
+#if defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_FUCHSIA) || defined(OS_BSD)
   static AtomicString GetFamilyNameForCharacter(SkFontMgr*,
                                                 UChar32,
                                                 const FontDescription&,
