Index: src/gpu/batches/GrStencilAndCoverPathRenderer.cpp |
diff --git a/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp b/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp |
index e43d05c09815ca2c995b1a96f0509bc35c6c06d3..314e6c26497f11e0bd50aff9a9427f041ccbbb40 100644 |
--- a/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp |
+++ b/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp |
@@ -71,7 +71,7 @@ void GrStencilAndCoverPathRenderer::onStencilPath(const StencilPathArgs& args) { |
"GrStencilAndCoverPathRenderer::onStencilPath"); |
GrPaint paint; |
- paint.setXPFactory(GrDisableColorXPFactory::Create()); |
+ SkSafeUnref(paint.setXPFactory(GrDisableColorXPFactory::Create())); |
paint.setAntiAlias(args.fIsAA); |
GrPipelineBuilder pipelineBuilder(paint, args.fDrawContext->isUnifiedMultisampled()); |