* platform/graphics/FontPlatformData.h:
(FontPlatformData): The openTypeTable declaration is needed
for WinCairo as well.
* platform/graphics/win/FontPlatformDataWin.cpp:
(WebCore):
(WebCore::FontPlatformData::openTypeTable): The implementation
of openTypeTable is needed for non-CG builds.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114044
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-04-12 Brent Fulgham <bfulgham@webkit.org>
+
+ [WinCairo] Build fix after addition of openTypeTable.
+
+ * platform/graphics/FontPlatformData.h:
+ (FontPlatformData): The openTypeTable declaration is needed
+ for WinCairo as well.
+ * platform/graphics/win/FontPlatformDataWin.cpp:
+ (WebCore):
+ (WebCore::FontPlatformData::openTypeTable): The implementation
+ of openTypeTable is needed for non-CG builds.
+
2012-04-12 Balazs Kelemen <kbalazs@webkit.org>
[Qt] Fix WebKit1 build with V8
#endif
}
-#if PLATFORM(WIN) && USE(CG)
+#if PLATFORM(WIN) && (USE(CG) || USE(CAIRO))
PassRefPtr<SharedBuffer> openTypeTable(uint32_t table) const;
#endif
RestoreDC(hdc, -1);
}
-#if USE(CG)
PassRefPtr<SharedBuffer> FontPlatformData::openTypeTable(uint32_t table) const
{
HWndDC hdc(0);
SelectObject(hdc, oldFont);
return buffer.release();
}
-#endif
#ifndef NDEBUG
String FontPlatformData::description() const