Index: src/utils/SkGatherPixelRefsAndRects.h |
diff --git a/src/utils/SkGatherPixelRefsAndRects.h b/src/utils/SkGatherPixelRefsAndRects.h |
index 4e52ba07c80c1663438af54f64541ee1868df139..24111ddfb6a98a502bf3612d5f6b5ab8be2e59d7 100644 |
--- a/src/utils/SkGatherPixelRefsAndRects.h |
+++ b/src/utils/SkGatherPixelRefsAndRects.h |
@@ -38,9 +38,11 @@ public: |
virtual int width() const SK_OVERRIDE { return fSize.width(); } |
virtual int height() const SK_OVERRIDE { return fSize.height(); } |
virtual bool isOpaque() const SK_OVERRIDE { return false; } |
+#ifdef SK_SUPPORT_LEGACY_DEVICE_CONFIG |
virtual SkBitmap::Config config() const SK_OVERRIDE { |
return SkBitmap::kNo_Config; |
} |
+#endif |
virtual SkImageInfo imageInfo() const SK_OVERRIDE { |
return fEmptyBitmap.info(); |
} |