Index: src/pdf/SkPDFDevice.h |
diff --git a/src/pdf/SkPDFDevice.h b/src/pdf/SkPDFDevice.h |
index af650055cdf7b40ffad09b8109bc99b44f4ba4b4..de405c1317ed5db53a8276b104f684333a949f72 100644 |
--- a/src/pdf/SkPDFDevice.h |
+++ b/src/pdf/SkPDFDevice.h |
@@ -137,7 +137,7 @@ public: |
* encoding and decoding might not be worth the space savings, |
* if any at all. |
*/ |
- void setDCTEncoder(SkPicture::EncodeBitmap encoder) { |
+ void setDCTEncoder(SkData* (*encoder)(size_t*, const SkBitmap&)) { |
fEncoder = encoder; |
} |
@@ -245,7 +245,7 @@ private: |
// Glyph ids used for each font on this device. |
SkAutoTDelete<SkPDFGlyphSetMap> fFontGlyphUsage; |
- SkPicture::EncodeBitmap fEncoder; |
+ SkData* (*fEncoder)(size_t*, const SkBitmap&); |
SkScalar fRasterDpi; |
SkBitmap fLegacyBitmap; |