$OpenBSD: patch-third_party_WebKit_Source_platform_fonts_FontPlatformData_h,v 1.3 2017/10/28 07:36:01 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
@@ -48,7 +48,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)
 
@@ -152,7 +152,7 @@ class PLATFORM_EXPORT FontPlatformData {
   PassRefPtr<OpenTypeVerticalData> VerticalData() const;
   Vector<char> OpenTypeTable(SkFontTableTag) const;
 
-#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_; }
@@ -182,7 +182,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
 
