Index: src/pdf/SkPDFFont.cpp |
diff --git a/src/pdf/SkPDFFont.cpp b/src/pdf/SkPDFFont.cpp |
index 89c7951f6356b0671afec5b102f67b4521ba500d..682f721c265b67e782fb1345d53b432dcc7af458 100644 |
--- a/src/pdf/SkPDFFont.cpp |
+++ b/src/pdf/SkPDFFont.cpp |
@@ -727,5 +727,7 @@ bool SkPDFFont::CanEmbedTypeface(SkTypeface* typeface, SkPDFCanon* canon) { |
void SkPDFFont::drop() { |
fTypeface = nullptr; |
+ fGlyphUsage.~SkBitSet(); |
+ new (&fGlyphUsage) SkBitSet(0); |
this->SkPDFDict::drop(); |
} |