Index: src/pdf/SkPDFDevice.cpp |
diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp |
index 5b4ae93504c859d6ad37c673682663be19edc93e..748289ffa17383b82cf24ba8ce70609938157dfd 100644 |
--- a/src/pdf/SkPDFDevice.cpp |
+++ b/src/pdf/SkPDFDevice.cpp |
@@ -544,7 +544,8 @@ static bool not_supported_for_layers(const SkPaint& layerPaint) { |
return layerPaint.getImageFilter() != nullptr; |
} |
-SkBaseDevice* SkPDFDevice::onCreateDevice(const CreateInfo& cinfo, const SkPaint* layerPaint) { |
+SkBaseDevice* SkPDFDevice::onCreateDevice(const CreateInfo& cinfo, const SkPaint* layerPaint, |
+ SkRasterCanvasLayerAllocator*) { |
if (cinfo.fForImageFilter || |
(layerPaint && not_supported_for_layers(*layerPaint))) { |
return nullptr; |