DescriptionNever consolidate data in ICO decoder
Follows the same approach as BMPImageDecoder: Use a
FastSharedBufferReader to avoid consolidation.
Add an optional offset to PNGImageDecoder for ICOImageDecoder, so that
PNGImageDecoder can read a PNG subimage in an ICO without copying the
data. This eliminates another call to SharedBuffer::data(), as well as
a copy to create the separate SharedBuffer for PNG.
BUG=467772
BUG=528625
Committed: https://crrev.com/0bad3920ae6c1274d35c95281afcfbab8cc33a78
git-svn-id: svn://svn.chromium.org/blink/trunk@201981 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Patch Set 1 #Patch Set 2 : Remove unnecessary blank line #
Total comments: 10
Patch Set 3 : Respond to pkasting@'s comments in patch set 2 #
Depends on Patchset: Messages
Total messages: 13 (3 generated)
|