Index: src/pdf/SkPDFImage.cpp |
diff --git a/src/pdf/SkPDFImage.cpp b/src/pdf/SkPDFImage.cpp |
index 788b64794ae1d934c828819ea3de56513bbf90d0..666a008292d4922fbedfa2301addc5e1a8fd6c86 100644 |
--- a/src/pdf/SkPDFImage.cpp |
+++ b/src/pdf/SkPDFImage.cpp |
@@ -687,10 +687,10 @@ static bool is_jfif_jpeg(SkData* data) { |
} // namespace |
#endif |
-SkPDFObject* SkPDFCreateImageObject( |
- const SkBitmap& bitmap, |
- const SkIRect& subset) { |
- if (SkPDFObject* pdfBitmap = SkPDFBitmap::Create(bitmap, subset)) { |
+SkPDFObject* SkPDFCreateImageObject(SkPDFCanon* canon, |
+ const SkBitmap& bitmap, |
+ const SkIRect& subset) { |
+ if (SkPDFObject* pdfBitmap = SkPDFBitmap::Create(canon, bitmap, subset)) { |
return pdfBitmap; |
} |
#if 0 // reenable when we can figure out the JPEG colorspace |