From da085e6ab3b17f16a69a35c2417bebabeb5e3494 Mon Sep 17 00:00:00 2001 From: caryclark Date: Tue, 17 Jun 2014 05:41:12 -0700 Subject: [PATCH] fix chrome had #if SK_DEBUG instead of #ifdef SK_DEBUG R=reed@android.com TBR=reed NOTRY=true NOTREECHECKS=true Author: caryclark@google.com Review URL: https://codereview.chromium.org/338333002 --- src/pathops/SkOpSegment.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pathops/SkOpSegment.cpp b/src/pathops/SkOpSegment.cpp index 59e6d34..090173f 100644 --- a/src/pathops/SkOpSegment.cpp +++ b/src/pathops/SkOpSegment.cpp @@ -589,9 +589,7 @@ int SkOpSegment::addT(SkOpSegment* other, const SkPoint& pt, double newT) { span = fTs.append(); } span->fT = newT; -#if SK_DEBUG span->fOtherT = -1; -#endif span->fOther = other; span->fPt = pt; #if 0 @@ -3438,7 +3436,7 @@ SkOpSpan* SkOpSegment::markAndChaseWinding(int index, int endIndex, int winding, SkOpSegment* other = this; while ((other = other->nextChase(&index, &step, &min, &last))) { if (other->fTs[min].fWindSum != SK_MinS32) { -#if SK_DEBUG +#ifdef SK_DEBUG if (!other->fTs[min].fLoop) { if (fOperand == other->fOperand) { // FIXME: this is probably a bug -- rects4 asserts here -- 2.7.4