Index: src/gpu/GrTextureParamsAdjuster.cpp |
diff --git a/src/gpu/GrTextureParamsAdjuster.cpp b/src/gpu/GrTextureParamsAdjuster.cpp |
index 1586d73297ce7bfc2a74c7ad0091f9175bca2133..3ca90f5adb0a6e433743f9f2d9b406adb0021487 100644 |
--- a/src/gpu/GrTextureParamsAdjuster.cpp |
+++ b/src/gpu/GrTextureParamsAdjuster.cpp |
@@ -424,8 +424,7 @@ sk_sp<GrFragmentProcessor> GrTextureAdjuster::createFragmentProcessor( |
(domain.fLeft <= domain.fRight && domain.fTop <= domain.fBottom)); |
textureMatrix.postIDiv(texture->width(), texture->height()); |
sk_sp<GrColorSpaceXform> colorSpaceXform = GrColorSpaceXform::Make(this->getColorSpace(), |
- dstColorSpace, |
- this->alphaType()); |
+ dstColorSpace); |
return create_fp_for_domain_and_filter(texture, std::move(colorSpaceXform), textureMatrix, |
domainMode, domain, filterOrNullForBicubic); |
} |
@@ -507,8 +506,7 @@ sk_sp<GrFragmentProcessor> GrTextureMaker::createFragmentProcessor( |
SkMatrix normalizedTextureMatrix = textureMatrix; |
normalizedTextureMatrix.postIDiv(texture->width(), texture->height()); |
sk_sp<GrColorSpaceXform> colorSpaceXform = GrColorSpaceXform::Make(this->getColorSpace(), |
- dstColorSpace, |
- this->alphaType()); |
+ dstColorSpace); |
return create_fp_for_domain_and_filter(texture, std::move(colorSpaceXform), |
normalizedTextureMatrix, domainMode, domain, |
filterOrNullForBicubic); |