Chromium Code Reviews| Index: include/core/SkImageGenerator.h |
| diff --git a/include/core/SkImageGenerator.h b/include/core/SkImageGenerator.h |
| index 635a8d4b4488ab3ef7845b0774d85e4b230dca65..cbceaa230863ab93ee983bdf49be2717e280ff1b 100644 |
| --- a/include/core/SkImageGenerator.h |
| +++ b/include/core/SkImageGenerator.h |
| @@ -35,6 +35,11 @@ class SkImageGenerator; |
| */ |
| SK_API bool SkInstallDiscardablePixelRef(SkImageGenerator*, SkBitmap* destination); |
| +/** |
| + * On success, installs a discradable pixelref into destination, based on encoded data. |
|
scroggo
2015/01/07 21:47:45
discardable*
|
| + * Regardless of success or failure, the caller must still balance their ownership of encoded. |
| + */ |
| +SK_API bool SkInstallDiscardablePixelRef(SkData* encoded, SkBitmap* destination); |
| /** |
| * An interface that allows a purgeable PixelRef (such as a |