Index: src/pdf/SkPDFDevice.h |
diff --git a/src/pdf/SkPDFDevice.h b/src/pdf/SkPDFDevice.h |
index b9ef50151858e6f185c2ecdf944d19f51baa8006..79b272d9ac260f5c156b36c14196926a28090253 100644 |
--- a/src/pdf/SkPDFDevice.h |
+++ b/src/pdf/SkPDFDevice.h |
@@ -277,8 +277,11 @@ private: |
int addGraphicStateResource(SkPDFObject* gs); |
int addXObjectResource(SkPDFObject* xObject); |
- // returns false when a valid SkFont can not be produced |
- bool updateFont(const SkPaint& paint, uint16_t glyphID, ContentEntry* contentEntry); |
+ // returns nullptr when a valid SkFont can not be produced |
+ SkPDFFont* updateFont(SkTypeface* typeface, |
+ SkScalar textSize, |
+ uint16_t glyphID, |
+ ContentEntry* contentEntry); |
int getFontResourceIndex(SkTypeface* typeface, uint16_t glyphID); |