update dox for bounds in supersampler
BUG=skia:
TBR=caryclark@google.com
NOTRY=True
Review URL: https://codereview.chromium.org/657793003
diff --git a/src/core/SkScan_AntiPath.cpp b/src/core/SkScan_AntiPath.cpp
index 6049e79..158f34d 100644
--- a/src/core/SkScan_AntiPath.cpp
+++ b/src/core/SkScan_AntiPath.cpp
@@ -83,6 +83,8 @@
SkIRect sectBounds;
if (isInverse) {
+ // We use the clip bounds instead of the ir, since we may be asked to
+ //draw outside of the rect when we're a inverse filltype
sectBounds = clip.getBounds();
} else {
if (!sectBounds.intersect(ir, clip.getBounds())) {
@@ -90,10 +92,6 @@
}
}
- /*
- * We use the clip bounds instead of the ir, since we may be asked to
- * draw outside of the rect if we're a inverse filltype
- */
const int left = sectBounds.left();
const int right = sectBounds.right();