| Index: include/core/SkBitmapDevice.h
|
| diff --git a/include/core/SkBitmapDevice.h b/include/core/SkBitmapDevice.h
|
| index b62a88b47f114498446856a6acbe0e0fe06751c4..85beb1619b6fcc1d74b15d6517241f7033f7801c 100644
|
| --- a/include/core/SkBitmapDevice.h
|
| +++ b/include/core/SkBitmapDevice.h
|
| @@ -135,7 +135,11 @@ protected:
|
| altered. The config/width/height/rowbytes must remain unchanged.
|
| @return the device contents as a bitmap
|
| */
|
| +#ifdef SK_SUPPORT_LEGACY_ACCESSBITMAP
|
| const SkBitmap& onAccessBitmap() override;
|
| +#else
|
| + const SkBitmap& onAccessBitmap();
|
| +#endif
|
|
|
| SkPixelRef* getPixelRef() const { return fBitmap.pixelRef(); }
|
| // just for subclasses, to assign a custom pixelref
|
|
|