Windows build fix
authorrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 17 Mar 2014 22:09:34 +0000 (22:09 +0000)
committerrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 17 Mar 2014 22:09:34 +0000 (22:09 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@13841 2bbb7eff-a529-9590-31e7-b0007b416f81

include/device/xps/SkXPSDevice.h

index 7265fbb..690b50e 100644 (file)
@@ -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;