diff options
author | 2016-01-11 07:23:23 -0800 | |
---|---|---|
committer | 2016-01-11 07:23:23 -0800 | |
commit | a4970dc973459d2607ce80623452bf8470adf6f1 (patch) | |
tree | df503260bfaa7d0a736daa93c727a03d0802adc3 /include/codec/SkAndroidCodec.h | |
parent | b512aaa5c808bcb1336c147682657882ee54e652 (diff) |
Delete reallyHasAlpha() from SkCodec
TBR=reed
BUG=skia:3582
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1557403002
Review URL: https://codereview.chromium.org/1557403002
Diffstat (limited to 'include/codec/SkAndroidCodec.h')
-rw-r--r-- | include/codec/SkAndroidCodec.h | 12 |
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*); |