Chromium Code Reviews
DescriptionPull up tests for WebP and GIF image decoders.
Just a refactor. No change in behavior, no new tests.
Pull up updateRequiredPreviousFrameAfterFirstDecode,
resumePartialDecodingAfterClearFrameBufferCache, which are shared by
GIFImagerDecoderTest and WEBPImageDecoderTest.
Pull up testAlphaBlending from WEBPImageDecoderTest, so that it can be
reused in APNG tests.
Use ImageDecoderTestHelpers::testByteByByteDecode for GIF's
parseAndDecodeByteByByte test. This tests for the same, and in addition
checks if the baseline hashes are equivalent to the incremental hashes.
Committed: https://crrev.com/40ce4579e49be92da9fc1569e25f539e44480c97
Cr-Commit-Position: refs/heads/master@{#434828}
Patch Set 1 #Patch Set 2 : Make ImageDecoderTestHelpers::verifyFramesMatch const correct. #Patch Set 3 : Use braces for multi-line loops, fix alphabetical sorting #
Total comments: 1
Messages
Total messages: 14 (8 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||