aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third_party__WebKit__Source__web__linux__WebFontRendering.cpp
blob: 9b8bba75e1f7472283d7c0c933749fcc2514369a (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/web/linux/WebFontRendering.cpp.orig	2014-08-20 21:07:56.000000000 +0200
+++ ./third_party/WebKit/Source/web/linux/WebFontRendering.cpp	2014-08-22 15:06:26.000000000 +0200
@@ -34,7 +34,7 @@
 #include "platform/fonts/FontDescription.h"
 #include "platform/fonts/FontPlatformData.h"
 
-#if OS(LINUX)
+#if OS(LINUX) || OS(FREEBSD)
 #include "public/platform/linux/WebFontInfo.h"
 #endif
 
@@ -77,7 +77,7 @@
 void WebFontRendering::setSubpixelPositioning(bool useSubpixelPositioning)
 {
     FontDescription::setSubpixelPositioning(useSubpixelPositioning);
-#if OS(LINUX)
+#if OS(LINUX) || OS(FREEBSD)
     WebFontInfo::setSubpixelPositioning(useSubpixelPositioning);
 #endif
 }