Index: include/core/SkBitmapDevice.h |
diff --git a/include/core/SkBitmapDevice.h b/include/core/SkBitmapDevice.h |
index 6aeb47753763d65aa68bd1d498459480a8d6ffd6..26c05741562f3f6ca73d0b55bc23fc1446d28dad 100644 |
--- a/include/core/SkBitmapDevice.h |
+++ b/include/core/SkBitmapDevice.h |
@@ -45,9 +45,11 @@ public: |
*/ |
virtual bool isOpaque() const SK_OVERRIDE { return fBitmap.isOpaque(); } |
+#ifdef SK_SUPPORT_LEGACY_DEVICE_CONFIG |
/** Return the bitmap config of the device's pixels |
*/ |
virtual SkBitmap::Config config() const SK_OVERRIDE { return fBitmap.config(); } |
+#endif |
virtual SkImageInfo imageInfo() const SK_OVERRIDE; |