Index: src/gpu/batches/GrDefaultPathRenderer.cpp |
diff --git a/src/gpu/batches/GrDefaultPathRenderer.cpp b/src/gpu/batches/GrDefaultPathRenderer.cpp |
index 9077d92f4e05f524bfaa395790f02fa9504501ac..1bcfc2d8b6d900056cac1fe030344cae81da3efc 100644 |
--- a/src/gpu/batches/GrDefaultPathRenderer.cpp |
+++ b/src/gpu/batches/GrDefaultPathRenderer.cpp |
@@ -629,7 +629,7 @@ void GrDefaultPathRenderer::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, |