Chromium Code Reviews| Index: Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp |
| diff --git a/Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp b/Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp |
| index c089d3f19ef06c0b35be16d571fbc7ef98f7e29c..4301a965de5c3e62f3ddda1637a712bf07e543c3 100644 |
| --- a/Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp |
| +++ b/Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp |
| @@ -93,9 +93,9 @@ void readYUV(size_t maxDecodedBytes, unsigned* outputYWidth, unsigned* outputYHe |
| ASSERT_TRUE(sizeIsAvailable); |
| IntSize size = decoder->decodedSize(); |
| - IntSize ySize = decoder->decodedYUVSize(0); |
| - IntSize uSize = decoder->decodedYUVSize(1); |
| - IntSize vSize = decoder->decodedYUVSize(2); |
| + IntSize ySize = decoder->decodedYUVSize(0, false); |
|
Stephen White
2014/09/08 16:58:20
Blink style is to use an enum instead of a bool as
sugoi1
2014/09/09 15:08:15
Acknowledged.
|
| + IntSize uSize = decoder->decodedYUVSize(1, false); |
| + IntSize vSize = decoder->decodedYUVSize(2, false); |
| ASSERT_TRUE(size.width() == ySize.width()); |
| ASSERT_TRUE(size.height() == ySize.height()); |