Index: gm/constcolorprocessor.cpp |
diff --git a/gm/constcolorprocessor.cpp b/gm/constcolorprocessor.cpp |
index 672e07ec176b5bef8d2d1698efda3661f126b00c..159bf0650a1c35ec27c9e974e611a7e64def1ad9 100644 |
--- a/gm/constcolorprocessor.cpp |
+++ b/gm/constcolorprocessor.cpp |
@@ -104,7 +104,8 @@ protected: |
} else { |
skPaint.setColor(kPaintColors[paintType]); |
} |
- SkPaint2GrPaintShader(context, rt, skPaint, viewMatrix, false, &grPaint); |
+ SkAssertResult(SkPaint2GrPaint(context, rt, skPaint, viewMatrix, false, |
+ &grPaint)); |
GrConstColorProcessor::InputMode mode = (GrConstColorProcessor::InputMode) m; |
GrColor color = kColors[procColor]; |