$OpenBSD: patch-third_party_WebKit_Source_platform_fonts_FontCache_h,v 1.5 2017/10/28 07:36:01 robert Exp $

Index: third_party/WebKit/Source/platform/fonts/FontCache.h
--- third_party/WebKit/Source/platform/fonts/FontCache.h.orig
+++ third_party/WebKit/Source/platform/fonts/FontCache.h
@@ -165,7 +165,7 @@ class PLATFORM_EXPORT FontCache {
 #else
   static const AtomicString& LegacySystemFontFamily();
 #endif
-#if defined(OS_LINUX) || defined(OS_ANDROID)
+#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_BSD)
   static void SetSystemFontFamily(const AtomicString&);
 #endif
 
@@ -282,7 +282,7 @@ class PLATFORM_EXPORT FontCache {
                                    const FontFaceCreationParams&,
                                    CString& name);
 
-#if defined(OS_ANDROID) || defined(OS_LINUX)
+#if defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_BSD)
   static AtomicString GetFamilyNameForCharacter(SkFontMgr*,
                                                 UChar32,
                                                 const FontDescription&,
