aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pdf/SkPDFDevice.cpp
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2015-12-10 08:59:43 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-12-10 08:59:43 -0800
commit712fdf7603c62820b21174da9b0a2071c174936b (patch)
tree52f88b6e297f2bce7b940adb9cfe052178076758 /src/pdf/SkPDFDevice.cpp
parenta06e6ab3fafb8c8712bc296f72c3f8b88856f1fe (diff)
SkDocument::setDCTEncoder() for old versions of webkit
Diffstat (limited to 'src/pdf/SkPDFDevice.cpp')
-rw-r--r--src/pdf/SkPDFDevice.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp
index 1c5b4da070..012caf6d7d 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;
}