commit | bb094b947bb53374f5ad3df1b0cc71f41d43d9bf | [log] [tgz] |
---|---|---|
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Nov 07 14:23:42 2012 +0000 |
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Nov 07 14:23:42 2012 +0000 |
tree | 7dfabffd5159e7026e45993bbfa2f72794e012fc | |
parent | 3302783ea7edf667794b088e5fc0656946b99816 [diff] |
fix SkRegion::intersects(rect) where the part of the rgn that we intersect is the last run. The old bug was that we did an early exit from the loop because we were comparing against the next rgn.bottom, instead of the current one. inspired and fixed by danakj http://code.google.com/p/skia/issues/detail?id=958 Review URL: https://codereview.appspot.com/6812099 git-svn-id: http://skia.googlecode.com/svn/trunk@6327 2bbb7eff-a529-9590-31e7-b0007b416f81