Index: src/pdf/SkPDFDevice.cpp |
diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp |
index efd2b02b50709a53d169d9697616563b3f168c59..66ddccfe650f9f4d6133bb3fe9687fa811664e0f 100644 |
--- a/src/pdf/SkPDFDevice.cpp |
+++ b/src/pdf/SkPDFDevice.cpp |
@@ -2310,10 +2310,12 @@ void SkPDFDevice::internalDrawBitmap(const SkMatrix& origMatrix, |
&content.entry()->fContent); |
} |
+#ifdef SK_SUPPORT_LEGACY_READPIXELSCONFIG |
bool SkPDFDevice::onReadPixels(const SkBitmap& bitmap, int x, int y, |
SkCanvas::Config8888) { |
return false; |
} |
+#endif |
bool SkPDFDevice::allowImageFilter(const SkImageFilter*) { |
return false; |