Index: src/image/SkImage_Raster.cpp |
diff --git a/src/image/SkImage_Raster.cpp b/src/image/SkImage_Raster.cpp |
index 358e91a0fa75473f5e6a65153cadefacb10096d5..46d6639bdd448cf0656bedfb19129341913a2ee3 100644 |
--- a/src/image/SkImage_Raster.cpp |
+++ b/src/image/SkImage_Raster.cpp |
@@ -208,7 +208,7 @@ GrTexture* SkImage_Raster::asTextureRef(GrContext* ctx, const GrTextureParams& p |
uint32_t uniqueID; |
sk_sp<GrTexture> tex = this->refPinnedTexture(&uniqueID); |
if (tex) { |
- GrTextureAdjuster adjuster(fPinnedTexture.get(), fBitmap.bounds(), |
+ GrTextureAdjuster adjuster(fPinnedTexture.get(), fBitmap.alphaType(), fBitmap.bounds(), |
fPinnedUniqueID, fBitmap.colorSpace()); |
return adjuster.refTextureSafeForParams(params, gammaTreatment, nullptr); |
} |