Index: src/gpu/GrAAConvexPathRenderer.cpp |
diff --git a/src/gpu/GrAAConvexPathRenderer.cpp b/src/gpu/GrAAConvexPathRenderer.cpp |
index ad6e061ec4d62d7e807f0bb27f69d0b004129fe1..2292929e398aea65e3c7e87f01149fe92a3fb081 100644 |
--- a/src/gpu/GrAAConvexPathRenderer.cpp |
+++ b/src/gpu/GrAAConvexPathRenderer.cpp |
@@ -230,9 +230,12 @@ static inline void add_line_to_segment(const SkPoint& pt, |
devBounds->growToInclude(pt.fX, pt.fY); |
} |
+#ifdef SK_DEBUG |
static inline bool contains_inclusive(const SkRect& rect, const SkPoint& p) { |
return p.fX >= rect.fLeft && p.fX <= rect.fRight && p.fY >= rect.fTop && p.fY <= rect.fBottom; |
} |
+#endif |
+ |
static inline void add_quad_segment(const SkPoint pts[3], |
SegmentArray* segments, |
SkRect* devBounds) { |