Index: src/core/SkScan_AntiPath.cpp |
diff --git a/src/core/SkScan_AntiPath.cpp b/src/core/SkScan_AntiPath.cpp |
index 6049e7909b4b3b20f77826e565738d7db8c85177..158f34d265bc352562412014ef3abe285b313c0c 100644 |
--- a/src/core/SkScan_AntiPath.cpp |
+++ b/src/core/SkScan_AntiPath.cpp |
@@ -83,6 +83,8 @@ BaseSuperBlitter::BaseSuperBlitter(SkBlitter* realBlit, const SkIRect& ir, const |
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 @@ BaseSuperBlitter::BaseSuperBlitter(SkBlitter* realBlit, const SkIRect& ir, const |
} |
} |
- /* |
- * 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(); |