aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_WebKit_Source_platform_fonts_FontCache.h
blob: 43756843e5a37b62d70db6146df4cb5ff6c3b220 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- third_party/WebKit/Source/platform/fonts/FontCache.h.orig	2017-06-05 19:03:26 UTC
+++ third_party/WebKit/Source/platform/fonts/FontCache.h
@@ -144,7 +144,7 @@ class PLATFORM_EXPORT FontCache {
 #else
   static const AtomicString& LegacySystemFontFamily();
 #endif
-#if OS(LINUX) || OS(ANDROID)
+#if OS(LINUX) || OS(ANDROID) || OS(FREEBSD)
   static void SetSystemFontFamily(const AtomicString&);
 #endif
 
@@ -259,7 +259,7 @@ class PLATFORM_EXPORT FontCache {
                                    const FontFaceCreationParams&,
                                    CString& name);
 
-#if OS(ANDROID) || OS(LINUX)
+#if OS(ANDROID) || OS(LINUX) || OS(FREEBSD)
   static AtomicString GetFamilyNameForCharacter(SkFontMgr*,
                                                 UChar32,
                                                 const FontDescription&,