commit | 7544124fb8ee744f68f549a353f8a9163cd7432d | [log] [tgz] |
---|---|---|
author | caryclark <caryclark@google.com> | Tue Aug 25 08:03:01 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Aug 25 08:03:01 2015 -0700 |
tree | 05b3c0bde241520b07e9caa86045542d72b1dc88 | |
parent | cf72ed6a3eb13d0ed1aa45beb984bafafa7afff3 [diff] |
fix zero-length tangent If the end point and the control point are the same, computing the tangent will result in (0, 0). In this case, use the prior control point instead. R=reed@google.com BUG=skia:4191 Review URL: https://codereview.chromium.org/1311273002