Index: src/effects/gradients/SkTwoPointConicalGradient.cpp |
diff --git a/src/effects/gradients/SkTwoPointConicalGradient.cpp b/src/effects/gradients/SkTwoPointConicalGradient.cpp |
index 84f1ae86751771d79fa3b7f34aa0011f05710002..9c0970182d4951243686c698ce4f115ce7ec4482 100644 |
--- a/src/effects/gradients/SkTwoPointConicalGradient.cpp |
+++ b/src/effects/gradients/SkTwoPointConicalGradient.cpp |
@@ -360,8 +360,8 @@ |
const AsFPArgs& args) const { |
SkASSERT(args.fContext); |
SkASSERT(fPtsToUnit.isIdentity()); |
- sk_sp<GrFragmentProcessor> inner(Gr2PtConicalGradientEffect::Make( |
- GrGradientEffect::CreateArgs(args.fContext, this, args.fLocalMatrix, fTileMode))); |
+ sk_sp<GrFragmentProcessor> inner( |
+ Gr2PtConicalGradientEffect::Make(args.fContext, *this, fTileMode, args.fLocalMatrix)); |
return GrFragmentProcessor::MulOutputByInputAlpha(std::move(inner)); |
} |