Index: gm/constcolorprocessor.cpp |
diff --git a/gm/constcolorprocessor.cpp b/gm/constcolorprocessor.cpp |
index 32d03a0c02563ba2fed9d5cf56db9e4e9a4f1f8b..3a5d73acf3d94802a5338385f0fcb859f5a66760 100644 |
--- a/gm/constcolorprocessor.cpp |
+++ b/gm/constcolorprocessor.cpp |
@@ -100,7 +100,8 @@ protected: |
skPaint.setColor(kPaintColors[paintType]); |
} |
// SRGBTODO: No sRGB inputs allowed here? |
- SkAssertResult(SkPaintToGrPaint(context, skPaint, viewMatrix, false, &grPaint)); |
+ SkAssertResult(SkPaintToGrPaint(context, skPaint, viewMatrix, false, nullptr, |
+ &grPaint)); |
GrConstColorProcessor::InputMode mode = (GrConstColorProcessor::InputMode) m; |
GrColor color = kColors[procColor]; |