Index: src/gpu/GrColorSpaceXform.cpp |
diff --git a/src/gpu/GrColorSpaceXform.cpp b/src/gpu/GrColorSpaceXform.cpp |
index d4faaaffd1650a3d35043160a0569b9db48b8146..d2270fafdd4a2458b4f8a1721be0a4f41f5adf26 100644 |
--- a/src/gpu/GrColorSpaceXform.cpp |
+++ b/src/gpu/GrColorSpaceXform.cpp |
@@ -50,7 +50,7 @@ sk_sp<GrColorSpaceXform> GrColorSpaceXform::Make(SkColorSpace* src, SkColorSpace |
} |
SkMatrix44 srcToDst(SkMatrix44::kUninitialized_Constructor); |
- srcToDst.setConcat(as_CSB(dst)->fromXYZD50(), src->toXYZD50()); |
+ srcToDst.setConcat(as_CSB(dst)->fromXYZD50(), as_CSB(src)->toXYZD50()); |
if (matrix_is_almost_identity(srcToDst)) { |
return nullptr; |