| 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 4cf7f23eaeb0cae45c9583eb7863b5741b8e0a9b..82d81b0e755f24daa532bad1ebb63c1248ea292d 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 alphaOption() const {
|
| + return m_premultiplyAlpha ? AlphaPremultiplied : AlphaNotPremultiplied;
|
| + }
|
| +
|
| // 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
|
|
|