| 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.
|
|
|