aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkImageGenerator.h
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-09-25 06:56:57 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-25 06:56:57 -0700
commitd114645d931d4e95a938597a45a270f211273c17 (patch)
tree195585704f873e84248a8c44e80c366025066ba2 /include/core/SkImageGenerator.h
parent57b767127f88b4794f7e42e659b585b3b82203c5 (diff)
SkInstallDiscardablePixelRef is deprecated, enforce that
No functionality change, just a renaming. BUG=skia: TBR= Review URL: https://codereview.chromium.org/1372593002
Diffstat (limited to 'include/core/SkImageGenerator.h')
-rw-r--r--include/core/SkImageGenerator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkImageGenerator.h b/include/core/SkImageGenerator.h
index b91aa653a5..0e2a45e145 100644
--- a/include/core/SkImageGenerator.h
+++ b/include/core/SkImageGenerator.h
@@ -39,13 +39,13 @@ class SkPicture;
*
* @return true iff successful.
*/
-SK_API bool SkInstallDiscardablePixelRef(SkImageGenerator*, SkBitmap* destination);
+SK_API bool SkDEPRECATED_InstallDiscardablePixelRef(SkImageGenerator*, SkBitmap* destination);
/**
* On success, installs a discardable pixelref into destination, based on encoded data.
* Regardless of success or failure, the caller must still balance their ownership of encoded.
*/
-SK_API bool SkInstallDiscardablePixelRef(SkData* encoded, SkBitmap* destination);
+SK_API bool SkDEPRECATED_InstallDiscardablePixelRef(SkData* encoded, SkBitmap* destination);
/**
* An interface that allows a purgeable PixelRef (such as a