| Index: src/core/SkBitmap.cpp
|
| diff --git a/src/core/SkBitmap.cpp b/src/core/SkBitmap.cpp
|
| index 6fd97dc241108e61fcd8f4d055654843990d17c8..67c568333359b9e9d170d87fffa536f4f709317d 100644
|
| --- a/src/core/SkBitmap.cpp
|
| +++ b/src/core/SkBitmap.cpp
|
| @@ -806,7 +806,7 @@ bool SkBitmap::copyTo(SkBitmap* dst, SkColorType dstColorType, Allocator* alloc)
|
| SkIRect subset;
|
| subset.setXYWH(fPixelRefOrigin.fX, fPixelRefOrigin.fY,
|
| fInfo.width(), fInfo.height());
|
| - if (fPixelRef->readPixels(&tmpSrc, &subset)) {
|
| + if (fPixelRef->readPixels(&tmpSrc, dstColorType, &subset)) {
|
| if (fPixelRef->info().alphaType() == kUnpremul_SkAlphaType) {
|
| // FIXME: The only meaningful implementation of readPixels
|
| // (GrPixelRef) assumes premultiplied pixels.
|
|
|