| Index: src/pdf/SkPDFDevice.cpp
|
| diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp
|
| index 88f9b810b608e5508ac0747c41b6b592377bbf1e..2dbad5f411403e800646f63d73d071957176eadc 100644
|
| --- a/src/pdf/SkPDFDevice.cpp
|
| +++ b/src/pdf/SkPDFDevice.cpp
|
| @@ -8,7 +8,6 @@
|
| #include "SkPDFDevice.h"
|
|
|
| #include "SkAnnotation.h"
|
| -#include "SkBitmapDevice.h"
|
| #include "SkColor.h"
|
| #include "SkClipStack.h"
|
| #include "SkData.h"
|
| @@ -579,7 +578,7 @@ static bool not_supported_for_layers(const SkPaint& layerPaint) {
|
| SkBaseDevice* SkPDFDevice::onCreateDevice(const CreateInfo& cinfo, const SkPaint* layerPaint) {
|
| if (cinfo.fForImageFilter ||
|
| (layerPaint && not_supported_for_layers(*layerPaint))) {
|
| - return SkBitmapDevice::Create(cinfo.fInfo);
|
| + return NULL;
|
| }
|
| SkISize size = SkISize::Make(cinfo.fInfo.width(), cinfo.fInfo.height());
|
| return SkPDFDevice::Create(size, fRasterDpi, fCanon);
|
|
|