Index: src/pathops/SkPathOpsWinding.cpp |
diff --git a/src/pathops/SkPathOpsWinding.cpp b/src/pathops/SkPathOpsWinding.cpp |
index 0abffb05862afa6c2e110a984d825aa393d76740..584ebd457a8dba8ffb94aac5f796214cd4721fdf 100644 |
--- a/src/pathops/SkPathOpsWinding.cpp |
+++ b/src/pathops/SkPathOpsWinding.cpp |
@@ -289,10 +289,10 @@ bool SkOpSpan::sortableTop(SkOpContour* contourHead) { |
bool ccw = ccw_dxdy(hit->fSlope, dir); |
// SkASSERT(!approximately_zero(hit->fT) || !hit->fValid); |
SkOpSpan* span = hit->fSpan; |
- SkOpSegment* hitSegment = span->segment(); |
if (!span) { |
return false; |
} |
+ SkOpSegment* hitSegment = span->segment(); |
if (span->windValue() == 0 && span->oppValue() == 0) { |
continue; |
} |