Index: src/gpu/batches/GrMSAAPathRenderer.cpp |
diff --git a/src/gpu/batches/GrMSAAPathRenderer.cpp b/src/gpu/batches/GrMSAAPathRenderer.cpp |
index 887c5273647822e5e6282018d2aa1fad9db80d40..2983f58055d20724c753e1de025d49bdbedc9de9 100644 |
--- a/src/gpu/batches/GrMSAAPathRenderer.cpp |
+++ b/src/gpu/batches/GrMSAAPathRenderer.cpp |
@@ -751,7 +751,7 @@ void GrMSAAPathRenderer::onStencilPath(const StencilPathArgs& args) { |
SkASSERT(SkPath::kInverseWinding_FillType != args.fPath->getFillType()); |
GrPaint paint; |
- paint.setXPFactory(GrDisableColorXPFactory::Create()); |
+ SkSafeUnref(paint.setXPFactory(GrDisableColorXPFactory::Create())); |
paint.setAntiAlias(args.fIsAA); |
this->internalDrawPath(args.fDrawContext, |