Index: src/effects/SkBlurMaskFilter.cpp |
diff --git a/src/effects/SkBlurMaskFilter.cpp b/src/effects/SkBlurMaskFilter.cpp |
index 1bd708b5e0a78a6fc90873966fe3cc6c10954136..2ef86b016291eb0ef721a7471ad40045dc532d05 100644 |
--- a/src/effects/SkBlurMaskFilter.cpp |
+++ b/src/effects/SkBlurMaskFilter.cpp |
@@ -1226,7 +1226,7 @@ bool SkBlurMaskFilterImpl::filterMaskGPU(GrTexture* src, |
paint.setCoverageSetOpXPFactory(SkRegion::kDifference_Op); |
} |
- GrDrawContext* drawContext = context->drawContext(); |
+ SkAutoTUnref<GrDrawContext> drawContext(context->drawContext()); |
if (!drawContext) { |
return false; |
} |