| Index: src/image/SkImage_Gpu.cpp
|
| diff --git a/src/image/SkImage_Gpu.cpp b/src/image/SkImage_Gpu.cpp
|
| index b769e0a68409d9e6f7678602134a18a643885a5c..4c9b5537dfc24605518a3abf28b9da098ce8226f 100644
|
| --- a/src/image/SkImage_Gpu.cpp
|
| +++ b/src/image/SkImage_Gpu.cpp
|
| @@ -492,7 +492,7 @@ size_t SkImage::getDeferredTextureImageData(const GrContextThreadSafeProxy& prox
|
| if (!data && !this->peekPixels(nullptr)) {
|
| return 0;
|
| }
|
| - info = SkImageInfo::MakeN32(scaledSize.width(), scaledSize.height(), this->alphaType());
|
| + info = as_IB(this)->onImageInfo().makeWH(scaledSize.width(), scaledSize.height());
|
| pixelSize = SkAlign8(SkAutoPixmapStorage::AllocSize(info, nullptr));
|
| if (fillMode) {
|
| pixmap.alloc(info);
|
|
|