Index: src/gpu/batches/GrAAHairLinePathRenderer.cpp |
diff --git a/src/gpu/batches/GrAAHairLinePathRenderer.cpp b/src/gpu/batches/GrAAHairLinePathRenderer.cpp |
index 2faf1afa14ce99bf8658c12f9ff2c0ff232a3d7c..ac5ecc1614d122db845ac6418adba46360552a12 100644 |
--- a/src/gpu/batches/GrAAHairLinePathRenderer.cpp |
+++ b/src/gpu/batches/GrAAHairLinePathRenderer.cpp |
@@ -965,6 +965,8 @@ static GrDrawBatch* create_hairline_batch(GrColor color, |
bool GrAAHairLinePathRenderer::onDrawPath(const DrawPathArgs& args) { |
GR_AUDIT_TRAIL_AUTO_FRAME(args.fDrawContext->auditTrail(), |
"GrAAHairlinePathRenderer::onDrawPath"); |
+ SkASSERT(!args.fDrawContext->isUnifiedMultisampled()); |
+ |
SkIRect devClipBounds; |
args.fClip->getConservativeBounds(args.fDrawContext->width(), args.fDrawContext->height(), |
&devClipBounds); |
@@ -972,7 +974,7 @@ bool GrAAHairLinePathRenderer::onDrawPath(const DrawPathArgs& args) { |
SkAutoTUnref<GrDrawBatch> batch(create_hairline_batch(args.fColor, *args.fViewMatrix, *args.fPath, |
*args.fStyle, devClipBounds)); |
- GrPipelineBuilder pipelineBuilder(*args.fPaint, args.fDrawContext->isUnifiedMultisampled()); |
+ GrPipelineBuilder pipelineBuilder(*args.fPaint); |
pipelineBuilder.setUserStencil(args.fUserStencilSettings); |
args.fDrawContext->drawBatch(pipelineBuilder, *args.fClip, batch); |