| Index: include/core/SkBitmap.h
|
| diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h
|
| index 6de95be24e459c2106a0452834aaa816e9859b91..ddeac2573b8a4e9e5de56850f4a6c86ec5c53009 100644
|
| --- a/include/core/SkBitmap.h
|
| +++ b/include/core/SkBitmap.h
|
| @@ -266,6 +266,7 @@ public:
|
| void getBounds(SkRect* bounds) const;
|
| void getBounds(SkIRect* bounds) const;
|
|
|
| +#ifdef SK_SUPPORT_LEGACY_SETCONFIG
|
| /** Set the bitmap's config and dimensions. If rowBytes is 0, then
|
| ComputeRowBytes() is called to compute the optimal value. This resets
|
| any pixel/colortable ownership, just like reset().
|
| @@ -276,6 +277,7 @@ public:
|
| return this->setConfig(config, width, height, rowBytes,
|
| kPremul_SkAlphaType);
|
| }
|
| +#endif
|
|
|
| bool setInfo(const SkImageInfo&, size_t rowBytes = 0);
|
|
|
|
|