Index: src/utils/SkPictureUtils.cpp |
diff --git a/src/utils/SkPictureUtils.cpp b/src/utils/SkPictureUtils.cpp |
index cda64052c35b51dada77d8a8ac9a8e07ee0bd8c5..e41bfecfb403cab8b04f7d8810f95035fbf26e72 100644 |
--- a/src/utils/SkPictureUtils.cpp |
+++ b/src/utils/SkPictureUtils.cpp |
@@ -85,10 +85,13 @@ public: |
virtual void clear(SkColor color) SK_OVERRIDE { |
nothing_to_do(); |
} |
+ |
+#ifdef SK_SUPPORT_LEGACY_WRITEPIXELSCONFIG |
virtual void writePixels(const SkBitmap& bitmap, int x, int y, |
SkCanvas::Config8888 config8888) SK_OVERRIDE { |
not_supported(); |
} |
+#endif |
virtual void drawPaint(const SkDraw&, const SkPaint& paint) SK_OVERRIDE { |
this->addBitmapFromPaint(paint); |