diff options
Diffstat (limited to 'src/core/SkPath.cpp')
-rw-r--r-- | src/core/SkPath.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp index eb0e485ab3..9723db929a 100644 --- a/src/core/SkPath.cpp +++ b/src/core/SkPath.cpp @@ -1942,6 +1942,7 @@ void SkPath::validate() const { SkASSERT(this != NULL); SkASSERT((fFillType & ~3) == 0); +#ifdef SK_DEBUG_PATH if (!fBoundsIsDirty) { SkRect bounds; @@ -1990,8 +1991,9 @@ void SkPath::validate() const { } } SkASSERT(mask == fSegmentMask); +#endif // SK_DEBUG_PATH } -#endif +#endif // SK_DEBUG /////////////////////////////////////////////////////////////////////////////// |