Index: src/pathops/SkOpSpan.cpp |
diff --git a/src/pathops/SkOpSpan.cpp b/src/pathops/SkOpSpan.cpp |
index 5c89c736fb82966b586aa3ee09f759d348b4e91c..df3ef3c9b369aee9e4d02959e057100afde2b761 100755 |
--- a/src/pathops/SkOpSpan.cpp |
+++ b/src/pathops/SkOpSpan.cpp |
@@ -369,7 +369,7 @@ void SkOpSpan::setOppSum(int oppSum) { |
this->globalState()->setWindingFailed(); |
return; |
} |
- SkASSERT(!DEBUG_LIMIT_WIND_SUM || abs(oppSum) <= DEBUG_LIMIT_WIND_SUM); |
+ SkASSERT(!DEBUG_LIMIT_WIND_SUM || SkTAbs(oppSum) <= DEBUG_LIMIT_WIND_SUM); |
fOppSum = oppSum; |
} |
@@ -379,6 +379,6 @@ void SkOpSpan::setWindSum(int windSum) { |
this->globalState()->setWindingFailed(); |
return; |
} |
- SkASSERT(!DEBUG_LIMIT_WIND_SUM || abs(windSum) <= DEBUG_LIMIT_WIND_SUM); |
+ SkASSERT(!DEBUG_LIMIT_WIND_SUM || SkTAbs(windSum) <= DEBUG_LIMIT_WIND_SUM); |
fWindSum = windSum; |
} |