| Index: src/pdf/SkPDFDocument.cpp
|
| diff --git a/src/pdf/SkPDFDocument.cpp b/src/pdf/SkPDFDocument.cpp
|
| index 4895dc5a7426e399412be17c6ba00fe4686e2389..c06e018b414bb130a5cef20cd41464206e19de06 100644
|
| --- a/src/pdf/SkPDFDocument.cpp
|
| +++ b/src/pdf/SkPDFDocument.cpp
|
| @@ -6,6 +6,7 @@
|
| */
|
|
|
| #include "SkPDFCanon.h"
|
| +#include "SkPDFCanvas.h"
|
| #include "SkPDFDevice.h"
|
| #include "SkPDFDocument.h"
|
| #include "SkPDFFont.h"
|
| @@ -332,7 +333,7 @@ protected:
|
| SkScalarRoundToInt(width), SkScalarRoundToInt(height));
|
| sk_sp<SkPDFDevice> device(
|
| SkPDFDevice::Create(pageSize, fRasterDpi, &fCanon));
|
| - fCanvas.reset(new SkCanvas(device.get()));
|
| + fCanvas.reset(new SkPDFCanvas(device.get()));
|
| fPageDevices.push_back(std::move(device));
|
| fCanvas->clipRect(trimBox);
|
| fCanvas->translate(trimBox.x(), trimBox.y());
|
|
|