• aelias's avatar
    Fix DecompressionTask with power-of-two expanded thumbnails. · 93778c0c
    aelias authored
    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}
    93778c0c
thumbnail_store.cc 29.2 KB