Index: tools/gpu/GrTest.cpp |
diff --git a/tools/gpu/GrTest.cpp b/tools/gpu/GrTest.cpp |
index f7c1f0c5044cc58881656959c3122c9e15316036..aa36885391fb6e3cf9374d21a0df530488b1fc29 100644 |
--- a/tools/gpu/GrTest.cpp |
+++ b/tools/gpu/GrTest.cpp |
@@ -139,9 +139,7 @@ void SkGpuDevice::drawTexture(GrTexture* tex, const SkRect& dst, const SkPaint& |
GrPaint grPaint; |
SkMatrix mat; |
mat.reset(); |
- if (!SkPaintToGrPaint(this->context(), paint, mat, |
- this->surfaceProps().isGammaCorrect(), fDrawContext->getColorSpace(), |
- &grPaint)) { |
+ if (!SkPaintToGrPaint(this->context(), fDrawContext.get(), paint, mat, &grPaint)) { |
return; |
} |
SkMatrix textureMat; |