Index: include/gpu/SkGpuDevice.h |
diff --git a/include/gpu/SkGpuDevice.h b/include/gpu/SkGpuDevice.h |
index 7394361ff135564eb17f2a3e0839da1c60bef5d4..111defe03fcc059ead6b4eb3a452ec260cb60b7a 100644 |
--- a/include/gpu/SkGpuDevice.h |
+++ b/include/gpu/SkGpuDevice.h |
@@ -149,7 +149,10 @@ public: |
protected: |
+#ifdef SK_SUPPORT_LEGACY_READPIXELSCONFIG |
virtual bool onReadPixels(const SkBitmap&, int x, int y, SkCanvas::Config8888) SK_OVERRIDE; |
+#endif |
+ virtual bool onReadPixels(const SkImageInfo&, void*, size_t, int, int) SK_OVERRIDE; |
virtual bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int) SK_OVERRIDE; |
/** PRIVATE / EXPERIMENTAL -- do not call */ |