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