Index: src/gpu/batches/GrAADistanceFieldPathRenderer.cpp |
diff --git a/src/gpu/batches/GrAADistanceFieldPathRenderer.cpp b/src/gpu/batches/GrAADistanceFieldPathRenderer.cpp |
index d9f456926a8ec045347a7043daa4bab620ee5a78..a9ba94da404d3d527e946b325dfbe3da45b2b682 100644 |
--- a/src/gpu/batches/GrAADistanceFieldPathRenderer.cpp |
+++ b/src/gpu/batches/GrAADistanceFieldPathRenderer.cpp |
@@ -11,6 +11,7 @@ |
#include "GrBatchTest.h" |
#include "GrBuffer.h" |
#include "GrContext.h" |
+#include "GrPipelineBuilder.h" |
#include "GrResourceProvider.h" |
#include "GrSurfacePriv.h" |
#include "GrSWMaskHelper.h" |
@@ -532,7 +533,10 @@ |
fAtlas, &fShapeCache, &fShapeList, |
args.fGammaCorrect)); |
- args.fDrawContext->drawBatch(*args.fPaint, *args.fClip, *args.fUserStencilSettings, batch); |
+ GrPipelineBuilder pipelineBuilder(*args.fPaint); |
+ pipelineBuilder.setUserStencil(args.fUserStencilSettings); |
+ |
+ args.fDrawContext->drawBatch(pipelineBuilder, *args.fClip, batch); |
return true; |
} |