diff options
author | Florin Malita <fmalita@chromium.org> | 2017-07-29 19:18:49 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-07-29 23:24:20 +0000 |
commit | 77c6866668ac74c8c22fcf0c1442aed5749af76f (patch) | |
tree | c1ee5aed98c1baf0fa1533e78f6b641e8c9a7865 /src/shaders/gradients | |
parent | 9c2212fa79e03ea7f3527bf4c30b3e6bbd560932 (diff) |
Remove stale SkTwoPointConicalGradient assert
Change-Id: If46426393e5151dad4f66ee5a54341024701e87e
TBR=
NOTRY=true
Reviewed-on: https://skia-review.googlesource.com/28500
Commit-Queue: Florin Malita <fmalita@chromium.org>
Reviewed-by: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'src/shaders/gradients')
-rw-r--r-- | src/shaders/gradients/SkTwoPointConicalGradient.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/shaders/gradients/SkTwoPointConicalGradient.cpp b/src/shaders/gradients/SkTwoPointConicalGradient.cpp index 479d85ffd8..6f821a5869 100644 --- a/src/shaders/gradients/SkTwoPointConicalGradient.cpp +++ b/src/shaders/gradients/SkTwoPointConicalGradient.cpp @@ -136,7 +136,6 @@ void SkTwoPointConicalGradient::flatten(SkWriteBuffer& buffer) const { sk_sp<GrFragmentProcessor> SkTwoPointConicalGradient::asFragmentProcessor( const AsFPArgs& args) const { SkASSERT(args.fContext); - SkASSERT(fPtsToUnit.isIdentity()); sk_sp<GrColorSpaceXform> colorSpaceXform = GrColorSpaceXform::Make(fColorSpace.get(), args.fDstColorSpace); sk_sp<GrFragmentProcessor> inner(Gr2PtConicalGradientEffect::Make( |