commit | 3c309db75bb8c4c2b58724a0e2f6f3b387ca842c | [log] [tgz] |
---|---|---|
author | msarett <msarett@google.com> | Fri Apr 10 14:36:48 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Fri Apr 10 14:36:49 2015 -0700 |
tree | ba2f2ddf0670e3fd8edde370db6ba369ea2ec491 | |
parent | 25c40d25d75c8ee5d9632608ba09eb2c5fb765d2 [diff] |
Implementing filling for SkBmpCodec The bmp codec currently returns kIncompleteInput when the stream is truncated, which we treat as a partial success. However, we neglect the fill the remaining pixels in the image, leaving these uninitialized. This CL addresses this problem by initializing the remaining pixels in the image to default values. BUG=skia:3257 Review URL: https://codereview.chromium.org/1075243003