Index: include/gpu/SkGpuDevice.h |
diff --git a/include/gpu/SkGpuDevice.h b/include/gpu/SkGpuDevice.h |
index 8549595949a6cb9c85c6910694ab224705578438..4ea67fe6203dd08951cf6150ded45742cc91c832 100644 |
--- a/include/gpu/SkGpuDevice.h |
+++ b/include/gpu/SkGpuDevice.h |
@@ -145,7 +145,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 */ |