Index: src/gpu/text/GrStencilAndCoverTextContext.cpp |
diff --git a/src/gpu/text/GrStencilAndCoverTextContext.cpp b/src/gpu/text/GrStencilAndCoverTextContext.cpp |
index 9c75da4b042092ed40971409ad1b5377babb2680..e9677df1efdba6903b2dd34bb494e9e19b2fca8d 100644 |
--- a/src/gpu/text/GrStencilAndCoverTextContext.cpp |
+++ b/src/gpu/text/GrStencilAndCoverTextContext.cpp |
@@ -165,8 +165,7 @@ void GrStencilAndCoverTextContext::uncachedDrawTextBlob(GrContext* context, |
runPaint.setFlags(GrTextUtils::FilterTextFlags(props, runPaint)); |
GrPaint grPaint; |
- if (!SkPaintToGrPaint(context, runPaint, viewMatrix, dc->isGammaCorrect(), |
- dc->getColorSpace(), &grPaint)) { |
+ if (!SkPaintToGrPaint(context, dc, runPaint, viewMatrix, &grPaint)) { |
return; |
} |
@@ -221,8 +220,7 @@ void GrStencilAndCoverTextContext::drawTextBlob(GrContext* context, GrDrawContex |
} |
GrPaint paint; |
- if (!SkPaintToGrPaint(context, skPaint, viewMatrix, dc->isGammaCorrect(), dc->getColorSpace(), |
- &paint)) { |
+ if (!SkPaintToGrPaint(context, dc, skPaint, viewMatrix, &paint)) { |
return; |
} |