Index: src/gpu/GrDrawContext.cpp |
diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp |
index 35c53eda0edf3688a576efcef7d9b62ccffaf341..e9a9619da587742237d7e8b9e007ff681916fefb 100644 |
--- a/src/gpu/GrDrawContext.cpp |
+++ b/src/gpu/GrDrawContext.cpp |
@@ -37,7 +37,6 @@ |
#include "../private/GrAuditTrail.h" |
-#include "SkColorSpaceXform.h" |
#include "SkGr.h" |
#include "SkLatticeIter.h" |
#include "SkMatrixPriv.h" |
@@ -97,7 +96,7 @@ |
if (fColorSpace) { |
// sRGB sources are very common (SkColor, etc...), so we cache that gamut transformation |
auto srgbColorSpace = SkColorSpace::NewNamed(SkColorSpace::kSRGB_Named); |
- fColorXformFromSRGB = SkColorSpaceXform::New(srgbColorSpace, fColorSpace); |
+ fColorXformFromSRGB = GrColorSpaceXform::Make(srgbColorSpace.get(), fColorSpace.get()); |
} |
SkDEBUGCODE(this->validate();) |
} |