DescriptionFix thumbnail store crashing on loading old files
- Was loading thumbnails in little endian, but since the files were from java's
output stream they were in big endian. This was causing all sorts of issues
with old thumbnails.
- Added back ETC1 header and fixed the file format to match the old version.
BUG=398319
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290708
Patch Set 1 #
Total comments: 14
Patch Set 2 : Pulled out helpers. Addressed comments #Patch Set 3 : Helpers to anonymous namespace, fixed findbugs, added >= 0 size checks #Patch Set 4 : Handle endianness of float reads #
Total comments: 1
Messages
Total messages: 8 (0 generated)
|