| Index: src/pdf/SkPDFDocument.cpp
|
| diff --git a/src/pdf/SkPDFDocument.cpp b/src/pdf/SkPDFDocument.cpp
|
| index 057631edf1a41e69a6135ec043780992bf75b55d..70c09595f9ab712f2a2b12114b86a1559fdc7e4e 100644
|
| --- a/src/pdf/SkPDFDocument.cpp
|
| +++ b/src/pdf/SkPDFDocument.cpp
|
| @@ -272,7 +272,7 @@ SkCanvas* SkPDFDocument::onBeginPage(SkScalar width, SkScalar height,
|
| SkISize pageSize = SkISize::Make(
|
| SkScalarRoundToInt(width), SkScalarRoundToInt(height));
|
| sk_sp<SkPDFDevice> device(
|
| - SkPDFDevice::Create(pageSize, fRasterDpi, &fCanon));
|
| + SkPDFDevice::Create(pageSize, fRasterDpi, this));
|
| fCanvas.reset(new SkCanvas(device.get()));
|
| fPageDevices.push_back(std::move(device));
|
| fCanvas->clipRect(trimBox);
|
|
|