Fix the quickSkFDot6Div range check
authorYuqian Li <liyuqian@google.com>
Thu, 17 Nov 2016 19:31:53 +0000 (14:31 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Thu, 17 Nov 2016 21:39:34 +0000 (21:39 +0000)
commitc88fc74447300acccc3bbaf445c114ac17c2c8a6
tree3367d6252df2100dc61db9dd3c6c92c26c9c30af
parent514baff8be7f71111aa7bfb9b099a096b31e16ec
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>
src/core/SkAnalyticEdge.cpp