| Index: third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp
|
| diff --git a/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp b/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp
|
| index 6deba9ce22adfd250319cac12dada224f706df3d..90350c5ba71f297d9dd07d766827f99588dfaefd 100644
|
| --- a/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp
|
| +++ b/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp
|
| @@ -212,6 +212,8 @@ void PNGImageDecoder::rowAvailable(unsigned char* rowBuffer,
|
| return;
|
| }
|
|
|
| + buffer.zeroFillPixelData();
|
| +
|
| unsigned colorChannels = m_reader->hasAlpha() ? 4 : 3;
|
| if (PNG_INTERLACE_ADAM7 ==
|
| png_get_interlace_type(png, m_reader->infoPtr())) {
|
|
|