diff options
author | 2014-06-17 05:41:12 -0700 | |
---|---|---|
committer | 2014-06-17 05:41:12 -0700 | |
commit | da085e6ab3b17f16a69a35c2417bebabeb5e3494 (patch) | |
tree | ae3a0f0e8791714a14d68bdc2ee8423d4fc783ba /src | |
parent | dac1d17027dcaa5596885a9f333979418b35001c (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/pathops/SkOpSegment.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pathops/SkOpSegment.cpp b/src/pathops/SkOpSegment.cpp index 59e6d344a5..090173fe96 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 |