Index: src/gpu/GrPipelineBuilder.cpp |
diff --git a/src/gpu/GrPipelineBuilder.cpp b/src/gpu/GrPipelineBuilder.cpp |
index b31d105963ff4373b1d48208dba6a2c9a34de3f0..59d0556baef4732b6c5daa7e250525c6874fd1a2 100644 |
--- a/src/gpu/GrPipelineBuilder.cpp |
+++ b/src/gpu/GrPipelineBuilder.cpp |
@@ -48,8 +48,8 @@ GrPipelineBuilder& GrPipelineBuilder::operator=(const GrPipelineBuilder& that) { |
return *this; |
} |
-void GrPipelineBuilder::setFromPaint(const GrPaint& paint, GrRenderTarget* rt, const GrClip& clip) { |
- SkASSERT(0 == fBlockEffectRemovalCnt || 0 == this->numFragmentStages()); |
+GrPipelineBuilder::GrPipelineBuilder(const GrPaint& paint, GrRenderTarget* rt, const GrClip& clip) { |
+ SkDEBUGCODE(fBlockEffectRemovalCnt = 0;) |
fColorStages.reset(); |
fCoverageStages.reset(); |