Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1394)

Unified Diff: Source/platform/fonts/FontDataCache.cpp

Issue 617103003: Replace ENABLE_OPENTYPE_VERTICAL implementation with HarfBuzz (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@removeOpenTypeVertical
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/platform/fonts/FontDataCache.cpp
diff --git a/Source/platform/fonts/FontDataCache.cpp b/Source/platform/fonts/FontDataCache.cpp
index c294141683e841639bd48380ea082c6910727947..1d488fd30a75bf5c91dea54687434d3dff82b49e 100644
--- a/Source/platform/fonts/FontDataCache.cpp
+++ b/Source/platform/fonts/FontDataCache.cpp
@@ -96,14 +96,12 @@ void FontDataCache::release(const SimpleFontData* fontData)
void FontDataCache::markAllVerticalData()
{
-#if ENABLE(OPENTYPE_VERTICAL)
Cache::iterator end = m_cache.end();
for (Cache::iterator fontData = m_cache.begin(); fontData != end; ++fontData) {
OpenTypeVerticalData* verticalData = const_cast<OpenTypeVerticalData*>(fontData->value.first->verticalData());
if (verticalData)
verticalData->setInFontCache(true);
}
-#endif
}
bool FontDataCache::purge(PurgeSeverity PurgeSeverity)

Powered by Google App Engine
This is Rietveld 408576698