diff options
author | halcanary <halcanary@google.com> | 2015-12-10 08:59:43 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-10 08:59:43 -0800 |
commit | 712fdf7603c62820b21174da9b0a2071c174936b (patch) | |
tree | 52f88b6e297f2bce7b940adb9cfe052178076758 /src/pdf/SkPDFDevice.cpp | |
parent | a06e6ab3fafb8c8712bc296f72c3f8b88856f1fe (diff) |
SkDocument::setDCTEncoder() for old versions of webkit
Review URL: https://codereview.chromium.org/1505763003
Diffstat (limited to 'src/pdf/SkPDFDevice.cpp')
-rw-r--r-- | src/pdf/SkPDFDevice.cpp | 3 |
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; } |