| 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 b2f1f058421eab9fae2450eb027688ae4a563b7b..f8ea7edb16c8de710cb5a44d7b611027647d6bbe 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
|
|
|