diff options
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/GrBlurUtils.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/GrBlurUtils.cpp b/src/gpu/GrBlurUtils.cpp index 146f297987..b37da26eee 100644 --- a/src/gpu/GrBlurUtils.cpp +++ b/src/gpu/GrBlurUtils.cpp @@ -267,6 +267,10 @@ void GrBlurUtils::drawPathWithMaskFilter(GrContext* context, const SkMatrix* prePathMatrix, const SkIRect& clipBounds, bool pathIsMutable) { + if (context->contextPriv().abandoned()) { + return; + } + SkASSERT(!pathIsMutable || origPath.isVolatile()); GrStyle style(paint); |