| Index: include/core/SkDevice.h
|
| diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h
|
| index f8a0c2ca62412fe4c186946af1c78c6f8d60b3e5..078f7f531f48e3c1786d1332743af27ca1a130f6 100644
|
| --- a/include/core/SkDevice.h
|
| +++ b/include/core/SkDevice.h
|
| @@ -82,9 +82,11 @@ public:
|
| */
|
| virtual bool isOpaque() const = 0;
|
|
|
| +#ifdef SK_SUPPORT_LEGACY_DEVICE_CONFIG
|
| /** Return the bitmap config of the device's pixels
|
| */
|
| virtual SkBitmap::Config config() const = 0;
|
| +#endif
|
|
|
| /** Return the bitmap associated with this device. Call this each time you need
|
| to access the bitmap, as it notifies the subclass to perform any flushing
|
|
|