| Index: third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h
|
| diff --git a/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h b/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h
|
| index 8ad824902e14b471d8abb796132adcb51c6371c8..bf81950db69cf8a3c599f667841b3b3caf813acc 100644
|
| --- a/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h
|
| +++ b/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.h
|
| @@ -226,6 +226,10 @@ class PLATFORM_EXPORT ImageDecoder {
|
| // Transformation from embedded color space to target color space.
|
| SkColorSpaceXform* ColorTransform();
|
|
|
| + AlphaOption GetAlphaOption() const {
|
| + return premultiply_alpha_ ? kAlphaPremultiplied : kAlphaNotPremultiplied;
|
| + }
|
| +
|
| // Sets the "decode failure" flag. For caller convenience (since so
|
| // many callers want to return false after calling this), returns false
|
| // to enable easy tailcalling. Subclasses may override this to also
|
|
|