Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1922)

Unified Diff: Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp

Issue 544323002: Non DCTSIZE multiple width support for JPEG YUV decoding (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());

Powered by Google App Engine
This is Rietveld 408576698