Index: gm/constcolorprocessor.cpp |
diff --git a/gm/constcolorprocessor.cpp b/gm/constcolorprocessor.cpp |
index cea7986cd30568ea67a5182eabdc57cc20918d5f..661a5ea8a4b142c97d02f03da8cdff03f61715e7 100644 |
--- a/gm/constcolorprocessor.cpp |
+++ b/gm/constcolorprocessor.cpp |
@@ -111,9 +111,8 @@ protected: |
GrColor color = kColors[procColor]; |
SkAutoTUnref<GrFragmentProcessor> fp(GrConstColorProcessor::Create(color, mode)); |
- GrPipelineBuilder pipelineBuilder; |
GrClip clip; |
- pipelineBuilder.setFromPaint(grPaint, rt, clip); |
+ GrPipelineBuilder pipelineBuilder(grPaint, rt, clip); |
pipelineBuilder.addColorProcessor(fp); |
tt.target()->drawSimpleRect(&pipelineBuilder, |