From f11a5afff0b2eb6acff3cb43296d0d38ecfc80a9 Mon Sep 17 00:00:00 2001 From: "caryclark@google.com" Date: Wed, 10 Apr 2013 18:55:11 +0000 Subject: fix path ops assert git-svn-id: http://skia.googlecode.com/svn/trunk@8602 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/pathops/SkPathOpsCommon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pathops/SkPathOpsCommon.cpp b/src/pathops/SkPathOpsCommon.cpp index 1a6f0f5c40..93f9cd47f7 100644 --- a/src/pathops/SkPathOpsCommon.cpp +++ b/src/pathops/SkPathOpsCommon.cpp @@ -89,7 +89,7 @@ abortContours: return 0; } result = bestSeg->windingAtT(*bestHit, bestTIndex, bestOpp, bestDx); - SkASSERT(*bestDx); + SkASSERT(result == SK_MinS32 || *bestDx); } double baseT = current->t(index); double endT = current->t(endIndex); -- cgit v1.2.3