Index: src/pdf/SkPDFDevice.cpp |
diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp |
index 1c5b4da07065c7a7afc0963fd713f7bd3a47091a..012caf6d7de7b07759148bb67643ecf1596e3a29 100644 |
--- a/src/pdf/SkPDFDevice.cpp |
+++ b/src/pdf/SkPDFDevice.cpp |
@@ -2433,7 +2433,8 @@ void SkPDFDevice::internalDrawImage(const SkMatrix& origMatrix, |
} |
SkAutoTUnref<SkPDFObject> pdfimage(SkSafeRef(fCanon->findPDFBitmap(image))); |
if (!pdfimage) { |
- pdfimage.reset(SkPDFCreateBitmapObject(image)); |
+ pdfimage.reset(SkPDFCreateBitmapObject( |
+ image, fCanon->fPixelSerializer)); |
if (!pdfimage) { |
return; |
} |