Index: src/effects/gradients/SkTwoPointConicalGradient.cpp |
diff --git a/src/effects/gradients/SkTwoPointConicalGradient.cpp b/src/effects/gradients/SkTwoPointConicalGradient.cpp |
index f33dcc5a75f9d4ad73571764cd3d4a1d1d710f1c..3c3180c2c531586d3c6d37f1c1eb2d12c8eab178 100644 |
--- a/src/effects/gradients/SkTwoPointConicalGradient.cpp |
+++ b/src/effects/gradients/SkTwoPointConicalGradient.cpp |
@@ -129,7 +129,7 @@ SkFixed TwoPtRadialContext::nextT() { |
return TwoPtRadial::kDontDrawT; |
} |
} |
- return SkFloatToFixed(t); |
+ return SkFloatPinToFixed(t); |
} |
typedef void (*TwoPointConicalProc)(TwoPtRadialContext* rec, SkPMColor* dstC, |