| Index: third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h b/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h
|
| index 65ce816863b5a8a378fc0cbc7f67b3c2607e2d2d..b2382303621bd8b8f2b2603044d66e50671f6d85 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.h
|
| @@ -82,7 +82,8 @@ class PLATFORM_EXPORT ImageFrameGenerator final
|
| size_t index,
|
| const SkImageInfo&,
|
| void* pixels,
|
| - size_t rowBytes);
|
| + size_t rowBytes,
|
| + ImageDecoder::AlphaOption);
|
|
|
| // Decodes YUV components directly into the provided memory planes. Must not
|
| // be called unless getYUVComponentSizes has been called and returned true.
|
| @@ -126,14 +127,16 @@ class PLATFORM_EXPORT ImageFrameGenerator final
|
| bool allDataReceived,
|
| size_t index,
|
| const SkISize& scaledSize,
|
| - SkBitmap::Allocator*);
|
| + SkBitmap::Allocator*,
|
| + ImageDecoder::AlphaOption);
|
| // This method should only be called while m_decodeMutex is locked.
|
| bool decode(SegmentReader*,
|
| bool allDataReceived,
|
| size_t index,
|
| ImageDecoder**,
|
| SkBitmap*,
|
| - SkBitmap::Allocator*);
|
| + SkBitmap::Allocator*,
|
| + ImageDecoder::AlphaOption);
|
|
|
| const SkISize m_fullSize;
|
|
|
|
|