Index: Source/WebCore/platform/graphics/win/FontCacheWin.cpp |
diff --git a/Source/WebCore/platform/graphics/win/FontCacheWin.cpp b/Source/WebCore/platform/graphics/win/FontCacheWin.cpp |
index ee55e1d23c61d0823a071b852ad3e68f9cba83c9..d0f291dc5c4acde4d3f4bb6cd28230780b90f1f6 100644 |
--- a/Source/WebCore/platform/graphics/win/FontCacheWin.cpp |
+++ b/Source/WebCore/platform/graphics/win/FontCacheWin.cpp |
@@ -469,7 +469,7 @@ static HFONT createGDIFont(const AtomicString& family, LONG desiredWeight, bool |
matchData.m_chosen.lfUnderline = false; |
matchData.m_chosen.lfStrikeOut = false; |
matchData.m_chosen.lfCharSet = DEFAULT_CHARSET; |
-#if USE(CG) || USE(CAIRO) |
+#if USE(CG) |
matchData.m_chosen.lfOutPrecision = OUT_TT_ONLY_PRECIS; |
#else |
matchData.m_chosen.lfOutPrecision = OUT_TT_PRECIS; |
@@ -578,8 +578,6 @@ FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontD |
#if USE(CG) |
bool fontCreationFailed = !result->cgFont(); |
-#elif USE(CAIRO) |
- bool fontCreationFailed = !result->scaledFont(); |
#endif |
if (fontCreationFailed) { |