aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pathops/SkOpAngle.cpp
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2016-10-20 12:36:16 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-10-20 12:36:16 -0700
commit78a37a53365c24670b050acf993818c435922745 (patch)
treeddc114a5ad3a36c03cce034736552e5a3cca2fa7 /src/pathops/SkOpAngle.cpp
parent61013b235f474cf1c02d7b69ff36bd05700f9a38 (diff)
fix more fuzz, carsvg
Fix a few kevin-generated fuzzers. Remove an assert triggered by carsvg when thrown through the distance field stuff. TBR=reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2427253005 Review-Url: https://chromiumcodereview.appspot.com/2427253005
Diffstat (limited to 'src/pathops/SkOpAngle.cpp')
-rw-r--r--src/pathops/SkOpAngle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pathops/SkOpAngle.cpp b/src/pathops/SkOpAngle.cpp
index 1223ac106e..5ebf913798 100644
--- a/src/pathops/SkOpAngle.cpp
+++ b/src/pathops/SkOpAngle.cpp
@@ -160,9 +160,9 @@ bool SkOpAngle::after(SkOpAngle* test) {
return COMPARE_RESULT(9, trOpposite);
} else if (lrOrder == 1 && trOrder == 1) {
SkASSERT(ltOrder < 0);
- SkDEBUGCODE(bool trOpposite = oppositePlanes(rh));
+// SkDEBUGCODE(bool trOpposite = oppositePlanes(rh));
bool lrOpposite = lh->oppositePlanes(rh);
- SkASSERT(lrOpposite != trOpposite);
+// SkASSERT(lrOpposite != trOpposite);
return COMPARE_RESULT(10, lrOpposite);
}
if (lrOrder < 0) {