Index: Source/platform/fonts/FontPlatformData.h |
diff --git a/Source/core/platform/graphics/FontPlatformData.h b/Source/platform/fonts/FontPlatformData.h |
similarity index 96% |
rename from Source/core/platform/graphics/FontPlatformData.h |
rename to Source/platform/fonts/FontPlatformData.h |
index e0a1176bee398643fd5a47f847d08b2935c2937a..062a67f85b3e35cc686c9c4601cbad74cbdd2bba 100644 |
--- a/Source/core/platform/graphics/FontPlatformData.h |
+++ b/Source/platform/fonts/FontPlatformData.h |
@@ -24,15 +24,16 @@ |
// FIXME: This is temporary until all ports switch to using this file. |
#if OS(WIN) |
-#include "core/platform/graphics/win/FontPlatformDataWin.h" |
+#include "platform/fonts/win/FontPlatformDataWin.h" |
#elif !OS(MACOSX) |
-#include "core/platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.h" |
+#include "platform/fonts/harfbuzz/FontPlatformDataHarfBuzz.h" |
#else |
#ifndef FontPlatformData_h |
#define FontPlatformData_h |
+#include "platform/PlatformExport.h" |
#include "platform/fonts/FontOrientation.h" |
#include "platform/fonts/FontWidthVariant.h" |
@@ -54,7 +55,7 @@ typedef const struct __CTFont* CTFontRef; |
#include "wtf/text/StringImpl.h" |
#if OS(MACOSX) |
-#include "core/platform/graphics/mac/MemoryActivatedFont.h" |
+#include "platform/fonts/mac/MemoryActivatedFont.h" |
#endif |
#if OS(MACOSX) |
@@ -78,7 +79,7 @@ class HarfBuzzFace; |
inline CTFontRef toCTFontRef(NSFont *nsFont) { return reinterpret_cast<CTFontRef>(nsFont); } |
#endif |
-class FontPlatformData { |
+class PLATFORM_EXPORT FontPlatformData { |
public: |
FontPlatformData(WTF::HashTableDeletedValueType); |
FontPlatformData(); |