Index: Source/core/platform/graphics/FontCache.h |
diff --git a/Source/core/platform/graphics/FontCache.h b/Source/core/platform/graphics/FontCache.h |
index b268374ac5ecc077be223094b99d6a0a7594e506..f9a72c64fbd054232a9551883171e1fda3ce371f 100644 |
--- a/Source/core/platform/graphics/FontCache.h |
+++ b/Source/core/platform/graphics/FontCache.h |
@@ -35,6 +35,7 @@ |
#include "wtf/PassRefPtr.h" |
#include "wtf/RefPtr.h" |
#include "wtf/Vector.h" |
+#include "wtf/text/CString.h" |
#include "wtf/text/WTFString.h" |
#include "wtf/unicode/Unicode.h" |
@@ -44,6 +45,8 @@ |
#include <mlang.h> |
#endif |
+class SkTypeface; |
+ |
namespace WebCore { |
class Font; |
@@ -126,6 +129,9 @@ private: |
PassRefPtr<SimpleFontData> getSimilarFontPlatformData(const Font&); |
FontPlatformData* createFontPlatformData(const FontDescription&, const AtomicString& family); |
+ // Implemented on skia platforms. |
+ SkTypeface* createTypeface(const FontDescription&, const AtomicString& family, CString& name); |
+ |
PassRefPtr<SimpleFontData> getFontResourceData(const FontPlatformData*, ShouldRetain = Retain); |
const FontPlatformData* getFallbackFontData(const FontDescription&); |