diff options
Diffstat (limited to 'WebCore/platform/graphics/win/SimpleFontDataWin.cpp')
-rw-r--r-- | WebCore/platform/graphics/win/SimpleFontDataWin.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/WebCore/platform/graphics/win/SimpleFontDataWin.cpp b/WebCore/platform/graphics/win/SimpleFontDataWin.cpp index 9835e9f..5a3244c 100644 --- a/WebCore/platform/graphics/win/SimpleFontDataWin.cpp +++ b/WebCore/platform/graphics/win/SimpleFontDataWin.cpp @@ -37,10 +37,13 @@ #include <wtf/MathExtras.h> #include <unicode/uchar.h> #include <unicode/unorm.h> -#include <ApplicationServices/ApplicationServices.h> #include <mlang.h> #include <tchar.h> + +#if PLATFORM(CG) +#include <ApplicationServices/ApplicationServices.h> #include <WebKitSystemInterface/WebKitSystemInterface.h> +#endif namespace WebCore { @@ -89,7 +92,7 @@ void SimpleFontData::initGDIFont() return; } -void SimpleFontData::platformCommonDestroy() +void SimpleFontData::platformDestroy() { // We don't hash this on Win32, so it's effectively owned by us. delete m_smallCapsFontData; |