Index: Source/platform/fonts/Font.h |
diff --git a/Source/core/platform/graphics/Font.h b/Source/platform/fonts/Font.h |
similarity index 98% |
rename from Source/core/platform/graphics/Font.h |
rename to Source/platform/fonts/Font.h |
index eef57889ae41b1226add8ba6b1c16da9b48f7eaa..1e1e4961746db0f0c09234a71505ff96ba366442 100644 |
--- a/Source/core/platform/graphics/Font.h |
+++ b/Source/platform/fonts/Font.h |
@@ -25,9 +25,10 @@ |
#ifndef Font_h |
#define Font_h |
-#include "core/platform/graphics/FontFallbackList.h" |
-#include "core/platform/graphics/SimpleFontData.h" |
+#include "platform/PlatformExport.h" |
#include "platform/fonts/FontDescription.h" |
+#include "platform/fonts/FontFallbackList.h" |
+#include "platform/fonts/SimpleFontData.h" |
#include "platform/fonts/TypesettingFeatures.h" |
#include "platform/text/TextDirection.h" |
#include "wtf/HashMap.h" |
@@ -75,7 +76,7 @@ struct GlyphOverflow { |
}; |
-class Font { |
+class PLATFORM_EXPORT Font { |
public: |
Font(); |
Font(const FontDescription&, float letterSpacing, float wordSpacing); |
@@ -332,7 +333,7 @@ inline float Font::tabWidth(const SimpleFontData& fontData, unsigned tabSize, fl |
namespace WTF { |
-template <> struct OwnedPtrDeleter<WebCore::TextLayout> { |
+template <> struct PLATFORM_EXPORT OwnedPtrDeleter<WebCore::TextLayout> { |
static void deletePtr(WebCore::TextLayout*); |
}; |