Index: src/gpu/batches/GrAAHairLinePathRenderer.cpp |
diff --git a/src/gpu/batches/GrAAHairLinePathRenderer.cpp b/src/gpu/batches/GrAAHairLinePathRenderer.cpp |
index dca4564c841a69f5675271015d7fc98033a4d9cd..194c79e41e0d1ef80d8566defc517ee79c2512b1 100644 |
--- a/src/gpu/batches/GrAAHairLinePathRenderer.cpp |
+++ b/src/gpu/batches/GrAAHairLinePathRenderer.cpp |
@@ -14,6 +14,7 @@ |
#include "GrContext.h" |
#include "GrDefaultGeoProcFactory.h" |
#include "GrPathUtils.h" |
+#include "GrPipelineBuilder.h" |
#include "GrProcessor.h" |
#include "GrResourceProvider.h" |
#include "SkGeometry.h" |
@@ -966,7 +967,10 @@ |
*args.fViewMatrix, path, |
args.fShape->style(), devClipBounds)); |
- 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; |
} |