Index: src/pdf/SkPDFFont.h |
diff --git a/src/pdf/SkPDFFont.h b/src/pdf/SkPDFFont.h |
index c55f6507698601b6da86ac1d1e2cd4aaf6f41d4f..acf9bf87ee453606c0e246bdfd7569a35a5aac61 100644 |
--- a/src/pdf/SkPDFFont.h |
+++ b/src/pdf/SkPDFFont.h |
@@ -132,7 +132,7 @@ public: |
* @return nullptr if font does not support subsetting, a new instance |
* of SkPDFFont otherwise. |
*/ |
- virtual SkPDFFont* getFontSubset(const SkPDFGlyphSet* usage); |
+ virtual sk_sp<SkPDFObject> getFontSubset(const SkPDFGlyphSet* usage); |
enum Match { |
kExact_Match, |