Index: Source/core/platform/graphics/FontCustomPlatformData.h |
diff --git a/Source/core/platform/graphics/FontCustomPlatformData.h b/Source/core/platform/graphics/FontCustomPlatformData.h |
index 7c6620d6f90c5dda909be0d91bc35210ccb2f30f..f07a1176555fba944205e2d7c8125e097e6a3207 100644 |
--- a/Source/core/platform/graphics/FontCustomPlatformData.h |
+++ b/Source/core/platform/graphics/FontCustomPlatformData.h |
@@ -48,7 +48,7 @@ |
typedef struct CGFont* CGFontRef; |
#endif |
-#if OS(MACOSX) || OS(UNIX) || (OS(WIN) && !ENABLE(GDI_FONTS_ON_WINDOWS)) |
+#if OS(MACOSX) || OS(POSIX) || (OS(WIN) && !ENABLE(GDI_FONTS_ON_WINDOWS)) |
#include "wtf/RefPtr.h" |
class SkTypeface; |
#endif |
@@ -77,7 +77,7 @@ private: |
explicit FontCustomPlatformData(CGFontRef, PassRefPtr<SkTypeface>); |
RetainPtr<CGFontRef> m_cgFont; |
RefPtr<SkTypeface> m_typeface; |
-#elif OS(UNIX) || (OS(WIN) && !ENABLE(GDI_FONTS_ON_WINDOWS)) |
+#elif OS(POSIX) || (OS(WIN) && !ENABLE(GDI_FONTS_ON_WINDOWS)) |
explicit FontCustomPlatformData(PassRefPtr<SkTypeface>); |
RefPtr<SkTypeface> m_typeface; |
#endif |