Index: Source/platform/fonts/FontCache.cpp |
diff --git a/Source/platform/fonts/FontCache.cpp b/Source/platform/fonts/FontCache.cpp |
index 7fc75a11cc791e3a9504993dca73c6fc42523c0d..b60338014cfabffffb8d276c4149a4a84d56676e 100644 |
--- a/Source/platform/fonts/FontCache.cpp |
+++ b/Source/platform/fonts/FontCache.cpp |
@@ -114,7 +114,6 @@ FontPlatformData* FontCache::getFontPlatformData(const FontDescription& fontDesc |
return result; |
} |
-#if ENABLE(OPENTYPE_VERTICAL) |
typedef HashMap<FontCache::FontFileKey, RefPtr<OpenTypeVerticalData>, IntHash<FontCache::FontFileKey>, UnsignedWithZeroKeyHashTraits<FontCache::FontFileKey> > FontVerticalDataCache; |
FontVerticalDataCache& fontVerticalDataCacheInstance() |
@@ -136,7 +135,6 @@ PassRefPtr<OpenTypeVerticalData> FontCache::getVerticalData(const FontFileKey& k |
fontVerticalDataCache.set(key, verticalData); |
return verticalData; |
} |
-#endif |
static FontDataCache* gFontDataCache = 0; |
@@ -196,7 +194,6 @@ static inline void purgePlatformFontDataCache() |
static inline void purgeFontVerticalDataCache() |
{ |
-#if ENABLE(OPENTYPE_VERTICAL) |
FontVerticalDataCache& fontVerticalDataCache = fontVerticalDataCacheInstance(); |
if (!fontVerticalDataCache.isEmpty()) { |
// Mark & sweep unused verticalData |
@@ -216,7 +213,6 @@ static inline void purgeFontVerticalDataCache() |
} |
fontVerticalDataCache.removeAll(keysToRemove); |
} |
-#endif |
} |
void FontCache::purge(PurgeSeverity PurgeSeverity) |