Fix 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 Review URL: https://codereview.chromium.org/598593003 Cr-Commit-Position: refs/heads/master@{#296341}
Showing
Please register or sign in to comment