diff options
author | Yuqian Li <liyuqian@google.com> | 2016-11-17 14:31:53 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-11-17 21:39:34 +0000 |
commit | c88fc74447300acccc3bbaf445c114ac17c2c8a6 (patch) | |
tree | 3367d6252df2100dc61db9dd3c6c92c26c9c30af /src/core/SkRegionPriv.h | |
parent | 514baff8be7f71111aa7bfb9b099a096b31e16ec (diff) |
Fix the quickSkFDot6Div range check
Our previous (1 << 10) limit is based on 2^32 being our maximum value.
However, that's not the case because we have one more sign bit.
Therefore I should make it (1 << 9).
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4973
Change-Id: I38acb627cdb2514d3e4996aef02480b389cf3588
Reviewed-on: https://skia-review.googlesource.com/4973
Reviewed-by: Cary Clark <caryclark@google.com>
Commit-Queue: Yuqian Li <liyuqian@google.com>
Diffstat (limited to 'src/core/SkRegionPriv.h')
0 files changed, 0 insertions, 0 deletions