summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/wx/FontPlatformData.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/wx/FontPlatformData.h')
-rw-r--r--WebCore/platform/graphics/wx/FontPlatformData.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/platform/graphics/wx/FontPlatformData.h b/WebCore/platform/graphics/wx/FontPlatformData.h
index 952368e..4f8d740 100644
--- a/WebCore/platform/graphics/wx/FontPlatformData.h
+++ b/WebCore/platform/graphics/wx/FontPlatformData.h
@@ -32,6 +32,7 @@
#include "FontDescription.h"
#include "AtomicString.h"
#include "StringImpl.h"
+#include <wtf/Forward.h>
#include <wtf/RefPtr.h>
#include <wtf/text/CString.h>
@@ -56,8 +57,6 @@ inline CTFontRef toCTFontRef(NSFont *nsFont) { return reinterpret_cast<CTFontRef
namespace WebCore {
-class String;
-
class FontHolder: public WTF::RefCounted<FontHolder>
{
public:
@@ -157,6 +156,7 @@ public:
ATSUFontID m_atsuFontID;
CGFontRef cgFont() const;
NSFont* nsFont() const { return m_nsFont; }
+ CTFontRef ctFont() const { return reinterpret_cast<CTFontRef>(m_nsFont); }
void cacheNSFont();
#endif