Index: src/pathops/SkIntersections.cpp |
diff --git a/src/pathops/SkIntersections.cpp b/src/pathops/SkIntersections.cpp |
index e9875cf69df37cfc29617c50a71065b2f73177ec..62c1e411adedefcd0fde3e3fb4acdfe0651ab46d 100644 |
--- a/src/pathops/SkIntersections.cpp |
+++ b/src/pathops/SkIntersections.cpp |
@@ -79,8 +79,6 @@ |
|| (precisely_equal(one, 1) && !precisely_equal(oldOne, 1)) |
|| (precisely_zero(two) && !precisely_zero(oldTwo)) |
|| (precisely_equal(two, 1) && !precisely_equal(oldTwo, 1))) { |
- SkASSERT(one >= 0 && one <= 1); |
- SkASSERT(two >= 0 && two <= 1); |
fT[0][index] = one; |
fT[1][index] = two; |
fPt[index] = pt; |
@@ -113,8 +111,6 @@ |
fIsCoincident[1] += fIsCoincident[1] & clearMask; |
} |
fPt[index] = pt; |
- SkASSERT(one >= 0 && one <= 1); |
- SkASSERT(two >= 0 && two <= 1); |
fT[0][index] = one; |
fT[1][index] = two; |
++fUsed; |
@@ -175,7 +171,7 @@ |
memmove(&fPt2[index], &fPt2[index + 1], sizeof(fPt2[0]) * remaining); |
memmove(&fT[0][index], &fT[0][index + 1], sizeof(fT[0][0]) * remaining); |
memmove(&fT[1][index], &fT[1][index + 1], sizeof(fT[1][0]) * remaining); |
-// SkASSERT(fIsCoincident[0] == 0); |
+ SkASSERT(fIsCoincident[0] == 0); |
int coBit = fIsCoincident[0] & (1 << index); |
fIsCoincident[0] -= ((fIsCoincident[0] >> 1) & ~((1 << index) - 1)) + coBit; |
SkASSERT(!(coBit ^ (fIsCoincident[1] & (1 << index)))); |