| Index: src/ports/SkFontHost_win.cpp
|
| diff --git a/src/ports/SkFontHost_win.cpp b/src/ports/SkFontHost_win.cpp
|
| index a2d9da7a39461ce4d7e1d209a744e74816ccbb3e..45e76c797dfba8ee1f8e0363dced1b1efa8b7232 100644
|
| --- a/src/ports/SkFontHost_win.cpp
|
| +++ b/src/ports/SkFontHost_win.cpp
|
| @@ -1761,9 +1761,7 @@ SkAdvancedTypefaceMetrics* LogFontTypeface::onGetAdvancedTypefaceMetrics(
|
| // If bit 1 is clear, the font can be embedded.
|
| // If bit 2 is set, the embedding is read-only.
|
| if (otm.otmfsType & 0x1) {
|
| - info->fFlags = SkTBitOr<SkAdvancedTypefaceMetrics::FontFlags>(
|
| - info->fFlags,
|
| - SkAdvancedTypefaceMetrics::kNotEmbeddable_FontFlag);
|
| + info->fFlags |= SkAdvancedTypefaceMetrics::kNotEmbeddable_FontFlag;
|
| }
|
|
|
| if (perGlyphInfo & kToUnicode_PerGlyphInfo) {
|
|
|