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

Unified Diff: sky/engine/platform/fonts/skia/SimpleFontDataSkia.cpp

Issue 1241673004: Minor sky/engine updates for Mac target (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Remove file added as a result of a bad merge Created 5 years, 5 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
« no previous file with comments | « sky/engine/platform/fonts/skia/FontCacheSkia.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/platform/fonts/skia/SimpleFontDataSkia.cpp
diff --git a/sky/engine/platform/fonts/skia/SimpleFontDataSkia.cpp b/sky/engine/platform/fonts/skia/SimpleFontDataSkia.cpp
index 6940f6ffebdec3be0035c50caf6f5c0f73944608..1fc6b39bf64b8ddbf56d0bf5657a65fa66346298 100644
--- a/sky/engine/platform/fonts/skia/SimpleFontDataSkia.cpp
+++ b/sky/engine/platform/fonts/skia/SimpleFontDataSkia.cpp
@@ -67,7 +67,7 @@ void SimpleFontData::platformInit()
int vdmxAscent = 0, vdmxDescent = 0;
bool isVDMXValid = false;
-#if OS(LINUX) || OS(ANDROID) || OS(IOS)
+#if OS(LINUX) || OS(ANDROID) || OS(IOS) || OS(MACOSX)
// Manually digging up VDMX metrics is only applicable when bytecode hinting using FreeType.
// With GDI, the metrics will already have taken this into account (as needed).
// With DirectWrite or CoreText, no bytecode hinting is ever done.
« no previous file with comments | « sky/engine/platform/fonts/skia/FontCacheSkia.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698