diff options
author | reed <reed@google.com> | 2015-07-28 06:00:50 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-28 06:00:50 -0700 |
commit | 91f283bb4e6ea71bbd4e6efc27befc29118ee543 (patch) | |
tree | 3145ec8b092c25f8beb4d2b39629a8a100fc9a9f /src/gpu/GrBufferAllocPool.h | |
parent | b2c07364a33fa381dcb78c47763d1bf98ab4b8ff (diff) |
change getBounds to return 0000 iff there are zero points
This is a contract change for SkPath::getBounds(), which formally was defined to return 0,0,0,0 for a 1-point path, regardless of the coordinates of that point. This seems wacky/inconsistent, and was causing other bugs (incorrect bounds) when this was unioned with other rects.
Does anyone remember why we defined it this way?
BUG=513799
Review URL: https://codereview.chromium.org/1261773002
Diffstat (limited to 'src/gpu/GrBufferAllocPool.h')
0 files changed, 0 insertions, 0 deletions