Index: include/pdf/SkPDFDevice.h |
diff --git a/include/pdf/SkPDFDevice.h b/include/pdf/SkPDFDevice.h |
index daec7a3de7496f9a5045099a5f46aea751d3965a..a51684ed65b86136370ff40b4b563258a34d798a 100644 |
--- a/include/pdf/SkPDFDevice.h |
+++ b/include/pdf/SkPDFDevice.h |
@@ -208,9 +208,10 @@ public: |
} |
protected: |
+#ifdef SK_SUPPORT_LEGACY_READPIXELSCONFIG |
virtual bool onReadPixels(const SkBitmap& bitmap, int x, int y, |
SkCanvas::Config8888) SK_OVERRIDE; |
- |
+#endif |
virtual bool allowImageFilter(const SkImageFilter*) SK_OVERRIDE; |
private: |