Index: src/effects/gradients/SkTwoPointConicalGradient.cpp |
diff --git a/src/effects/gradients/SkTwoPointConicalGradient.cpp b/src/effects/gradients/SkTwoPointConicalGradient.cpp |
index bb702ff8fe29d1670ae6177db46cc38767b7d3c1..91856c88a2eabdeb58f131e6e1d9eadf9dbed541 100644 |
--- a/src/effects/gradients/SkTwoPointConicalGradient.cpp |
+++ b/src/effects/gradients/SkTwoPointConicalGradient.cpp |
@@ -196,14 +196,14 @@ void SkTwoPointConicalGradient::init() { |
SkTwoPointConicalGradient::SkTwoPointConicalGradient( |
const SkPoint& start, SkScalar startRadius, |
const SkPoint& end, SkScalar endRadius, |
- bool flippedGrad, const Descriptor& desc, |
- const SkMatrix* localMatrix) |
- : SkGradientShaderBase(desc, localMatrix), |
- fCenter1(start), |
- fCenter2(end), |
- fRadius1(startRadius), |
- fRadius2(endRadius), |
- fFlippedGrad(flippedGrad) { |
+ bool flippedGrad, const Descriptor& desc) |
+ : SkGradientShaderBase(desc) |
+ , fCenter1(start) |
+ , fCenter2(end) |
+ , fRadius1(startRadius) |
+ , fRadius2(endRadius) |
+ , fFlippedGrad(flippedGrad) |
+{ |
// this is degenerate, and should be caught by our caller |
SkASSERT(fCenter1 != fCenter2 || fRadius1 != fRadius2); |
this->init(); |