| Index: src/gpu/GrDrawContext.cpp
|
| diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp
|
| index 581bf087f28c8ec73d6a5fc5b7fcdf047b6bed7f..280e6326c909fcae43c6d11a65a5eef8362e3c61 100644
|
| --- a/src/gpu/GrDrawContext.cpp
|
| +++ b/src/gpu/GrDrawContext.cpp
|
| @@ -409,7 +409,7 @@ void GrDrawContextPriv::stencilRect(const GrFixedClip& clip,
|
|
|
| GrPaint paint;
|
| paint.setAntiAlias(doAA);
|
| - paint.setXPFactory(GrDisableColorXPFactory::Create());
|
| + SkSafeUnref(paint.setXPFactory(GrDisableColorXPFactory::Create()));
|
|
|
| SkAutoTUnref<GrDrawBatch> batch(fDrawContext->getFillRectBatch(paint, viewMatrix, rect));
|
| SkASSERT(batch);
|
|
|