Index: src/pdf/SkPDFFont.cpp |
diff --git a/src/pdf/SkPDFFont.cpp b/src/pdf/SkPDFFont.cpp |
index 59bfc8f3f13baf4a03c6e69aabef3522598b11b3..2376df80fc6a21f75da3f00613d6c71e79348e35 100644 |
--- a/src/pdf/SkPDFFont.cpp |
+++ b/src/pdf/SkPDFFont.cpp |
@@ -1434,3 +1434,10 @@ bool SkPDFFont::CanEmbedTypeface(SkTypeface* typeface, SkPDFCanon* canon) { |
} |
return *canon->fCanEmbedTypeface.set(id, canEmbed); |
} |
+ |
+void SkPDFFont::dump() { |
+ fTypeface = nullptr; |
+ fFontInfo = nullptr; |
+ fDescriptor = nullptr; |
+ this->SkPDFDict::dump(); |
+} |