Index: src/core/SkAAClip.cpp |
diff --git a/src/core/SkAAClip.cpp b/src/core/SkAAClip.cpp |
index 9669e6fb4b87ea5829577152d97aaeff7de7495d..a9d591a963bbc4efab816c2dde467475ad26e88e 100644 |
--- a/src/core/SkAAClip.cpp |
+++ b/src/core/SkAAClip.cpp |
@@ -36,9 +36,11 @@ private: |
#define kMaxInt32 0x7FFFFFFF |
+#ifdef SK_DEBUG |
static inline bool x_in_rect(int x, const SkIRect& rect) { |
return (unsigned)(x - rect.fLeft) < (unsigned)rect.width(); |
} |
+#endif |
static inline bool y_in_rect(int y, const SkIRect& rect) { |
return (unsigned)(y - rect.fTop) < (unsigned)rect.height(); |