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

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: Additional TestExpectations tweaking for Mac Created 6 years 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
« no previous file with comments | « Source/platform/fonts/FontCache.cpp ('k') | Source/platform/fonts/FontFaceCreationParams.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « Source/platform/fonts/FontCache.cpp ('k') | Source/platform/fonts/FontFaceCreationParams.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698