aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/codec/SkAndroidCodec.h
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2016-01-11 07:23:23 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-01-11 07:23:23 -0800
commita4970dc973459d2607ce80623452bf8470adf6f1 (patch)
treedf503260bfaa7d0a736daa93c727a03d0802adc3 /include/codec/SkAndroidCodec.h
parentb512aaa5c808bcb1336c147682657882ee54e652 (diff)
Delete reallyHasAlpha() from SkCodec
Diffstat (limited to 'include/codec/SkAndroidCodec.h')
-rw-r--r--include/codec/SkAndroidCodec.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/codec/SkAndroidCodec.h b/include/codec/SkAndroidCodec.h
index 4062e64dc5..c5578d3964 100644
--- a/include/codec/SkAndroidCodec.h
+++ b/include/codec/SkAndroidCodec.h
@@ -226,18 +226,6 @@ public:
*/
SkCodec::Result getAndroidPixels(const SkImageInfo& info, void* pixels, size_t rowBytes);
- /**
- * Some images may initially report that they have alpha due to the format
- * of the encoded data, but then never use any colors which have alpha
- * less than 100%. This function can be called *after* decoding to
- * determine if such an image truly had alpha. Calling it before decoding
- * is undefined.
- * FIXME: see skbug.com/3582.
- */
- bool reallyHasAlpha() const {
- return fCodec->reallyHasAlpha();
- }
-
protected:
SkAndroidCodec(SkCodec*);