| Index: src/codec/SkSampler.cpp
|
| diff --git a/src/codec/SkSampler.cpp b/src/codec/SkSampler.cpp
|
| index c69d003c0f584fd5f5e6edf9a678d6d517b5ddc0..ccfe400ec931fbbace9a7ec6bcbe750bbf82a43f 100644
|
| --- a/src/codec/SkSampler.cpp
|
| +++ b/src/codec/SkSampler.cpp
|
| @@ -21,7 +21,8 @@ void SkSampler::Fill(const SkImageInfo& info, void* dst, size_t rowBytes,
|
|
|
| // Use the proper memset routine to fill the remaining bytes
|
| switch (info.colorType()) {
|
| - case kN32_SkColorType: {
|
| + case kRGBA_8888_SkColorType:
|
| + case kBGRA_8888_SkColorType: {
|
| // If memory is zero initialized, we may not need to fill
|
| uint32_t color = colorOrIndex;
|
| if (SkCodec::kYes_ZeroInitialized == zeroInit && 0 == color) {
|
|
|