| Index: src/pathops/SkPathOpsTSect.h
|
| diff --git a/src/pathops/SkPathOpsTSect.h b/src/pathops/SkPathOpsTSect.h
|
| index 8a4c2a9ea7bc1ff79f7591c019b16550176a5783..85d3b10d954d76efc6555150e819222bece1fa7e 100644
|
| --- a/src/pathops/SkPathOpsTSect.h
|
| +++ b/src/pathops/SkPathOpsTSect.h
|
| @@ -1159,7 +1159,7 @@ SkTSpan<TCurve, OppCurve>* SkTSect<TCurve, OppCurve>::extractCoincident(
|
| SkTSect<OppCurve, TCurve>* sect2,
|
| SkTSpan<TCurve, OppCurve>* first, SkTSpan<TCurve, OppCurve>* last) {
|
| first = findCoincidentRun(first, &last);
|
| - if (!first) {
|
| + if (!first || !last) {
|
| return nullptr;
|
| }
|
| // march outwards to find limit of coincidence from here to previous and next spans
|
|
|