Index: src/utils/SkGatherPixelRefsAndRects.h |
diff --git a/src/utils/SkGatherPixelRefsAndRects.h b/src/utils/SkGatherPixelRefsAndRects.h |
index 90ab0f6cffcae0c84fc73fcc9a022cbfc106c4ea..4b5bb6f9e5b2be6489f9f38e1d15d68395a15354 100644 |
--- a/src/utils/SkGatherPixelRefsAndRects.h |
+++ b/src/utils/SkGatherPixelRefsAndRects.h |
@@ -49,10 +49,12 @@ public: |
return fEmptyBitmap.info(); |
} |
+#ifdef SK_SUPPORT_LEGACY_WRITEPIXELSCONFIG |
virtual void writePixels(const SkBitmap& bitmap, int x, int y, |
SkCanvas::Config8888 config8888) SK_OVERRIDE { |
NotSupported(); |
} |
+#endif |
virtual GrRenderTarget* accessRenderTarget() SK_OVERRIDE { return NULL; } |
protected: |