Index: src/core/SkBitmapProcShader.cpp |
diff --git a/src/core/SkBitmapProcShader.cpp b/src/core/SkBitmapProcShader.cpp |
index 406cc6f000758099e116f1175297fb60c97cd9c1..006fedf626d64245e08a979afaa691b8a0b1e7ce 100644 |
--- a/src/core/SkBitmapProcShader.cpp |
+++ b/src/core/SkBitmapProcShader.cpp |
@@ -457,9 +457,8 @@ sk_sp<GrFragmentProcessor> SkBitmapProcShader::asFragmentProcessor(const AsFPArg |
"Couldn't convert bitmap to texture."); |
return nullptr; |
} |
- SkColorSpace* dstColorSpace = nullptr; // XFORMTODO |
sk_sp<GrColorSpaceXform> colorSpaceXform = GrColorSpaceXform::Make(fRawBitmap.colorSpace(), |
- dstColorSpace); |
+ args.fDstColorSpace); |
sk_sp<GrFragmentProcessor> inner; |
if (doBicubic) { |
inner = GrBicubicEffect::Make(texture, std::move(colorSpaceXform), matrix, tm); |