$OpenBSD: patch-third_party_WebKit_Source_platform_fonts_FontPlatformData_h,v 1.9 2018/01/30 07:57:25 robert Exp $

Index: third_party/WebKit/Source/platform/fonts/FontPlatformData.h
--- third_party/WebKit/Source/platform/fonts/FontPlatformData.h.orig
+++ third_party/WebKit/Source/platform/fonts/FontPlatformData.h
@@ -49,7 +49,7 @@
 #include "platform/wtf/text/StringImpl.h"
 #include "third_party/skia/include/core/SkRefCnt.h"
 
-#if defined(OS_LINUX) || defined(OS_ANDROID)
+#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_BSD)
 #include "platform/fonts/linux/FontRenderStyle.h"
 #endif  // defined(OS_LINUX) || defined(OS_ANDROID)
 
@@ -153,7 +153,7 @@ class PLATFORM_EXPORT FontPlatformData {
   bool IsHashTableDeletedValue() const { return is_hash_table_deleted_value_; }
   bool FontContainsCharacter(UChar32 character);
 
-#if defined(OS_LINUX) || defined(OS_ANDROID)
+#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_BSD)
   // The returned styles are all actual styles without
   // FontRenderStyle::NoPreference.
   const FontRenderStyle& GetFontRenderStyle() const { return style_; }
@@ -185,7 +185,7 @@ class PLATFORM_EXPORT FontPlatformData {
   FontOrientation orientation_;
 
  private:
-#if defined(OS_LINUX) || defined(OS_ANDROID)
+#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_BSD)
   FontRenderStyle style_;
 #endif
 
