DescriptionPNG: Use frame width when applying color xform
The row provided by libpng will only be as wide as the frame, so pass
that width to the color xform.
Similarly, for an opaque image, only apply the color xform to the
frame's width. The buffer may be wider (e.g. if the frame starts at
(0, y)), but these are the only pixels that have changed.
BUG=703397
Review-Url: https://codereview.chromium.org/2761193003
Cr-Commit-Position: refs/heads/master@{#458728}
Committed: https://chromium.googlesource.com/chromium/src/+/0fa5516411db46950188474b9382157d75810208
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 15 (9 generated)
|