Index: src/core/SkTypeface.cpp |
diff --git a/src/core/SkTypeface.cpp b/src/core/SkTypeface.cpp |
index 24e1a67864ebbcb00880b1a60131b8b98a8ea3e8..cda9b5ce5e57f021a8dd8d905e29af86c0cb4d13 100644 |
--- a/src/core/SkTypeface.cpp |
+++ b/src/core/SkTypeface.cpp |
@@ -298,14 +298,10 @@ SkAdvancedTypefaceMetrics* SkTypeface::getAdvancedTypefaceMetrics( |
(os2table.version.v2.fsType.field.Restricted && |
!(os2table.version.v2.fsType.field.PreviewPrint || |
os2table.version.v2.fsType.field.Editable))) { |
- result->fFlags = SkTBitOr<SkAdvancedTypefaceMetrics::FontFlags>( |
- result->fFlags, |
- SkAdvancedTypefaceMetrics::kNotEmbeddable_FontFlag); |
+ result->fFlags |= SkAdvancedTypefaceMetrics::kNotEmbeddable_FontFlag; |
} |
if (os2table.version.v2.fsType.field.NoSubsetting) { |
- result->fFlags = SkTBitOr<SkAdvancedTypefaceMetrics::FontFlags>( |
- result->fFlags, |
- SkAdvancedTypefaceMetrics::kNotSubsettable_FontFlag); |
+ result->fFlags |= SkAdvancedTypefaceMetrics::kNotSubsettable_FontFlag; |
} |
} |
} |