aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pathops/SkPathOpsTSect.h
diff options
context:
space:
mode:
authorGravatar csmartdalton <csmartdalton@google.com>2016-08-10 10:07:57 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-10 10:07:58 -0700
commitceeaa78713dde9cc6e3ccd688aca6021b260af4d (patch)
tree0cb53ce7219ee4cbdb1131e719e6379a21adabc4 /src/pathops/SkPathOpsTSect.h
parentce81ed58e2fd6bfa9043a8b5ab94191f52683628 (diff)
Fix SkDEBUGCODE to accept commas
Diffstat (limited to 'src/pathops/SkPathOpsTSect.h')
-rw-r--r--src/pathops/SkPathOpsTSect.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pathops/SkPathOpsTSect.h b/src/pathops/SkPathOpsTSect.h
index 1e483ea0ca..8a4c2a9ea7 100644
--- a/src/pathops/SkPathOpsTSect.h
+++ b/src/pathops/SkPathOpsTSect.h
@@ -218,7 +218,7 @@ private:
SkOpDebugBool fIsLine;
SkOpDebugBool fDeleted;
SkDEBUGCODE(SkOpGlobalState* fDebugGlobalState);
- SkDEBUGCODE_(SkTSect<TCurve, OppCurve>* fDebugSect);
+ SkDEBUGCODE(SkTSect<TCurve, OppCurve>* fDebugSect);
PATH_OPS_DEBUG_T_SECT_CODE(int fID);
friend class SkTSect<TCurve, OppCurve>;
friend class SkTSect<OppCurve, TCurve>;
@@ -332,7 +332,7 @@ private:
SkTSpan<TCurve, OppCurve>* fDeleted;
int fActiveCount;
SkDEBUGCODE(SkOpGlobalState* fDebugGlobalState);
- SkDEBUGCODE_(SkTSect<OppCurve, TCurve>* fOppSect);
+ SkDEBUGCODE(SkTSect<OppCurve, TCurve>* fOppSect);
PATH_OPS_DEBUG_T_SECT_CODE(int fID);
PATH_OPS_DEBUG_T_SECT_CODE(int fDebugCount);
#if DEBUG_T_SECT
@@ -819,7 +819,7 @@ void SkTSpan<TCurve, OppCurve>::validateBounded() const {
#if DEBUG_VALIDATE
const SkTSpanBounded<OppCurve, TCurve>* testBounded = fBounded;
while (testBounded) {
- SkDEBUGCODE_(const SkTSpan<OppCurve, TCurve>* overlap = testBounded->fBounded);
+ SkDEBUGCODE(const SkTSpan<OppCurve, TCurve>* overlap = testBounded->fBounded);
SkASSERT(!overlap->fDeleted);
#if DEBUG_T_SECT
SkASSERT(((this->debugID() ^ overlap->debugID()) & 1) == 1);