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

Unified Diff: src/core/SkPictureData.cpp

Issue 1317913005: whitelist fallback typefaces (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove string change Created 5 years, 4 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: src/core/SkPictureData.cpp
diff --git a/src/core/SkPictureData.cpp b/src/core/SkPictureData.cpp
index 2cc28410fe13efc4079cb1646ec7ac9be37430a0..5089e5d8d6240f7d3542a933ddef3d7c9e688373 100644
--- a/src/core/SkPictureData.cpp
+++ b/src/core/SkPictureData.cpp
@@ -193,12 +193,7 @@ void SkPictureData::WriteTypefaces(SkWStream* stream, const SkRefCntSet& rec) {
rec.copyToArray((SkRefCnt**)array);
for (int i = 0; i < count; i++) {
-#ifdef SK_PICTURE_FORCE_FONT_EMBEDDING
- array[i]->serializeForcingEmbedding(stream);
-#else
- // TODO: if (embedFonts) { array[i]->serializeForcingEmbedding(stream) } else
array[i]->serialize(stream);
-#endif
}
}

Powered by Google App Engine
This is Rietveld 408576698