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

Unified Diff: sky/engine/platform/fonts/opentype/OpenTypeSanitizer.cpp

Issue 1028333002: Chromium -> Mojo roll. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « skia/skia_library_opts.gyp ('k') | sky/engine/platform/graphics/GraphicsContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/platform/fonts/opentype/OpenTypeSanitizer.cpp
diff --git a/sky/engine/platform/fonts/opentype/OpenTypeSanitizer.cpp b/sky/engine/platform/fonts/opentype/OpenTypeSanitizer.cpp
index 3d628ffbe4d3b215f64e4f6ce22a7cd966bc8ab3..003869e777f6482b2c93ebdd85431e18fe9b3318 100644
--- a/sky/engine/platform/fonts/opentype/OpenTypeSanitizer.cpp
+++ b/sky/engine/platform/fonts/opentype/OpenTypeSanitizer.cpp
@@ -48,9 +48,6 @@ PassRefPtr<SharedBuffer> OpenTypeSanitizer::sanitize()
if (m_buffer->size() > maxWebFontSize)
return nullptr;
- if (RuntimeEnabledFeatures::woff2Enabled())
- ots::EnableWOFF2();
-
// A transcoded font is usually smaller than an original font.
// However, it can be slightly bigger than the original one due to
// name table replacement and/or padding for glyf table.
« no previous file with comments | « skia/skia_library_opts.gyp ('k') | sky/engine/platform/graphics/GraphicsContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698