aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/device/xps/SkXPSDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/device/xps/SkXPSDevice.h')
-rw-r--r--include/device/xps/SkXPSDevice.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/device/xps/SkXPSDevice.h b/include/device/xps/SkXPSDevice.h
index 7265fbbedc..690b50ec13 100644
--- a/include/device/xps/SkXPSDevice.h
+++ b/include/device/xps/SkXPSDevice.h
@@ -141,10 +141,12 @@ protected:
int x, int y,
const SkPaint& paint) SK_OVERRIDE;
+#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;