Chromium Code Reviews| Index: Source/platform/graphics/ImageFrameGenerator.cpp |
| diff --git a/Source/platform/graphics/ImageFrameGenerator.cpp b/Source/platform/graphics/ImageFrameGenerator.cpp |
| index 4fb8fdeb392a7db4cb2d1dfe7db2790f540ba467..2c2bd12c0c967562ec05f9d5e68fa9cbcc5ec3dc 100644 |
| --- a/Source/platform/graphics/ImageFrameGenerator.cpp |
| +++ b/Source/platform/graphics/ImageFrameGenerator.cpp |
| @@ -69,7 +69,7 @@ private: |
| size_t m_rowBytes; |
| }; |
| -static bool updateYUVComponentSizes(const ImageDecoder* decoder, SkISize componentSizes[3], ImageDecoder::SizeType sizeType) |
| +static bool updateYUVComponentSizes(ImageDecoder* decoder, SkISize componentSizes[3], ImageDecoder::SizeType sizeType) |
|
sugoi1
2014/09/11 19:57:41
Oops, adding the "const" here was causing the isSi
Noel Gordon
2014/09/12 01:47:06
Ack.
|
| { |
| // canDecodeToYUV() has to be called AFTER isSizeAvailable(), |
| // otherwise the output color space may not be set in the decoder. |