Index: src/pdf/SkPDFDevice.cpp |
diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp |
index 7c366cdae7a6159d3605e127720b0bc263f4e295..8e417b1f529dbf9e4b41909175a9cf7107aeb940 100644 |
--- a/src/pdf/SkPDFDevice.cpp |
+++ b/src/pdf/SkPDFDevice.cpp |
@@ -543,8 +543,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))) { |
+ if (layerPaint && not_supported_for_layers(*layerPaint)) { |
return nullptr; |
} |
SkISize size = SkISize::Make(cinfo.fInfo.width(), cinfo.fInfo.height()); |