diff options
author | mtklein <mtklein@chromium.org> | 2015-06-10 08:57:28 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-10 08:57:28 -0700 |
commit | f2fe0e03205c4d7f70496ec8c6bea9a82ae88329 (patch) | |
tree | 9b7eeff3cef8650aa31bd54f436c25494803e0e9 /src/core/SkGeometry.cpp | |
parent | 55812362f1df3c1f7341f687d5bab0adab8ac954 (diff) |
Remove overly-promiscuous SkNx syntax sugar.
I haven't figured out a pithy way to have these apply to only classes
originating from SkNx, so let's just remove them. There aren't too
many use cases, and it's not really any less readable without them.
Semantically, this is a no-op.
BUG=skia:
Review URL: https://codereview.chromium.org/1167153002
Diffstat (limited to 'src/core/SkGeometry.cpp')
-rw-r--r-- | src/core/SkGeometry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkGeometry.cpp b/src/core/SkGeometry.cpp index 2cda344a5d..6afd9d7ffb 100644 --- a/src/core/SkGeometry.cpp +++ b/src/core/SkGeometry.cpp @@ -1284,7 +1284,7 @@ SkPoint SkConic::evalAt(SkScalar t) const { Sk2s numer = quad_poly_eval(A, B, C, tt); B = times_2(ww - one); - A = -B; + A = Sk2s(0)-B; Sk2s denom = quad_poly_eval(A, B, one, tt); return to_point(numer / denom); |