Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Issue 279433002: BMP-in-ICO should respect alpha in Windows V3 32bpp RGB bitmaps. (Closed)

Created:
6 years, 7 months ago by Peter Kasting
Modified:
6 years, 7 months ago
Reviewers:
Stephen White
CC:
blink-reviews
Visibility:
Public.

Description

BMP-in-ICO should respect alpha in Windows V3 32bpp RGB bitmaps. Confirmed with Firefox source code and some vague Wikipedia references, as well as IE's behavior on a test image. BUG=38618 TEST=none TBR=senorblanco Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173567

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -21 lines) Patch
M Source/platform/image-decoders/bmp/BMPImageReader.h View 3 chunks +8 lines, -9 lines 2 comments Download
M Source/platform/image-decoders/bmp/BMPImageReader.cpp View 9 chunks +15 lines, -12 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Peter Kasting
Followon to yesterday's patch. Turns out there's another wrinkle in alpha support: inside ICO files ...
6 years, 7 months ago (2014-05-07 22:18:30 UTC) #1
Peter Kasting
Committed patchset #1 manually as r173567 (presubmit successful).
6 years, 7 months ago (2014-05-07 22:20:43 UTC) #2
Stephen White
LGTM, but please fix the typo in a followup. https://codereview.chromium.org/279433002/diff/1/Source/platform/image-decoders/bmp/BMPImageReader.h File Source/platform/image-decoders/bmp/BMPImageReader.h (right): https://codereview.chromium.org/279433002/diff/1/Source/platform/image-decoders/bmp/BMPImageReader.h#newcode71 Source/platform/image-decoders/bmp/BMPImageReader.h:71: ...
6 years, 7 months ago (2014-05-07 22:38:55 UTC) #3
Peter Kasting
6 years, 7 months ago (2014-05-07 22:41:28 UTC) #4
Message was sent while issue was closed.
https://codereview.chromium.org/279433002/diff/1/Source/platform/image-decode...
File Source/platform/image-decoders/bmp/BMPImageReader.h (right):

https://codereview.chromium.org/279433002/diff/1/Source/platform/image-decode...
Source/platform/image-decoders/bmp/BMPImageReader.h:71:
BMPImageReader(ImageDecoder* parent, size_t decodedAndHeaderOffset, size_t
imgDataOffset, bool m_isInICO);
On 2014/05/07 22:38:55, Stephen White wrote:
> Spurious m_.

Darn!  Good catch.  Will fix.

Powered by Google App Engine
This is Rietveld 408576698