Fix preAbandonContext bot
This fixes a bug in https://skia-review.googlesource.com/c/skia/+/113121 (Additional DDL playback cleanup) TBR=egdaniel@google.com Change-Id: Idef804c00816fa373c75814ffa5d28b7c9f64d41 Reviewed-on: https://skia-review.googlesource.com/113161 Reviewed-by: Robert Phillips <robertphillips@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
This commit is contained in:
parent
baf3e78092
commit
bebfd41955
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user