| Index: include/core/SkBitmap.h
|
| diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h
|
| index 144e93ba8864bc1ee621835f69e7d2d78387a295..041afe2f2ef58fb0dec2c829786e7505edcc02cf 100644
|
| --- a/include/core/SkBitmap.h
|
| +++ b/include/core/SkBitmap.h
|
| @@ -273,6 +273,9 @@ public:
|
| * referenced, if releaseProc is not null, it will be called with the
|
| * pixels and context as parameters.
|
| * On failure, the bitmap will be set to empty and return false.
|
| + *
|
| + * If specified, the releaseProc will always be called, even on failure. It is also possible
|
| + * for success but the releaseProc is immediately called (e.g. valid Info but NULL pixels).
|
| */
|
| bool installPixels(const SkImageInfo&, void* pixels, size_t rowBytes, SkColorTable*,
|
| void (*releaseProc)(void* addr, void* context), void* context);
|
|
|