DescriptionFix DecompressionTask with power-of-two expanded thumbnails.
Older versions of Chrome expanded thumbnails to 1024x1024 to work around
an IMG driver bug. When these were processed through DecompressionTask,
they got corrupted because this method assumed the content size and
buffer size were the same. This patch changes it to decompress into a
potentially larger buffer then copy if needed.
BUG=416437
Committed: https://crrev.com/93778c0cb6edfe0d5b1146e2797fbac9abadaf14
Cr-Commit-Position: refs/heads/master@{#296341}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Fix indentation #Patch Set 3 : Make decode failure mode not have pixels for consistency #Patch Set 4 : Use Skia methods instead of recomputing pixel size and stride #Patch Set 5 : Update comment #Messages
Total messages: 8 (2 generated)
|