Index: src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp |
diff --git a/src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp b/src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp |
index a3e00d1b7a72b5e0fdd4440e865136d77291a885..227f86bf77e0d117908ce0cc3a1579f9b284bd4f 100644 |
--- a/src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp |
+++ b/src/gpu/batches/GrAALinearizingConvexPathRenderer.cpp |
@@ -322,6 +322,8 @@ private: |
bool GrAALinearizingConvexPathRenderer::onDrawPath(const DrawPathArgs& args) { |
GR_AUDIT_TRAIL_AUTO_FRAME(args.fDrawContext->auditTrail(), |
"GrAALinearizingConvexPathRenderer::onDrawPath"); |
+ SkASSERT(!args.fDrawContext->isUnifiedMultisampled()); |
+ |
if (args.fPath->isEmpty()) { |
return true; |
} |
@@ -336,7 +338,7 @@ bool GrAALinearizingConvexPathRenderer::onDrawPath(const DrawPathArgs& args) { |
SkAutoTUnref<GrDrawBatch> batch(AAFlatteningConvexPathBatch::Create(geometry)); |
- GrPipelineBuilder pipelineBuilder(*args.fPaint, args.fDrawContext->isUnifiedMultisampled()); |
+ GrPipelineBuilder pipelineBuilder(*args.fPaint); |
pipelineBuilder.setUserStencil(args.fUserStencilSettings); |
args.fDrawContext->drawBatch(pipelineBuilder, *args.fClip, batch); |