Index: Source/platform/fonts/FontCustomPlatformData.h |
diff --git a/Source/platform/fonts/FontCustomPlatformData.h b/Source/platform/fonts/FontCustomPlatformData.h |
index c2f7824767e492e52caa4ca54e74e8b394c3c77b..30f44b180014d6530223b2c13ee102d58df9b604 100644 |
--- a/Source/platform/fonts/FontCustomPlatformData.h |
+++ b/Source/platform/fonts/FontCustomPlatformData.h |
@@ -39,12 +39,6 @@ |
#include "wtf/RefPtr.h" |
#include "wtf/text/WTFString.h" |
-#if OS(MACOSX) |
-#include "wtf/RetainPtr.h" |
-#include <CoreFoundation/CFBase.h> |
-typedef struct CGFont* CGFontRef; |
-#endif |
- |
class SkTypeface; |
namespace blink { |
@@ -63,12 +57,7 @@ public: |
static bool supportsFormat(const String&); |
private: |
-#if OS(MACOSX) |
- explicit FontCustomPlatformData(CGFontRef, PassRefPtr<SkTypeface>); |
- RetainPtr<CGFontRef> m_cgFont; |
-#else |
explicit FontCustomPlatformData(PassRefPtr<SkTypeface>); |
-#endif |
RefPtr<SkTypeface> m_typeface; |
}; |