diff options
author | csmartdalton <csmartdalton@google.com> | 2016-08-10 10:07:57 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-10 10:07:58 -0700 |
commit | ceeaa78713dde9cc6e3ccd688aca6021b260af4d (patch) | |
tree | 0cb53ce7219ee4cbdb1131e719e6379a21adabc4 /src/pathops/SkPathOpsTSect.h | |
parent | ce81ed58e2fd6bfa9043a8b5ab94191f52683628 (diff) |
Fix SkDEBUGCODE to accept commas
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2231663002
Review-Url: https://codereview.chromium.org/2231663002
Diffstat (limited to 'src/pathops/SkPathOpsTSect.h')
-rw-r--r-- | src/pathops/SkPathOpsTSect.h | 6 |
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); |