Index: src/effects/gradients/Sk4fLinearGradient.h |
diff --git a/src/effects/gradients/Sk4fLinearGradient.h b/src/effects/gradients/Sk4fLinearGradient.h |
index 30292c361f0c24cc31e0aacae5170daf5de0481b..dc7a1795834e7a6128d6cd775656f4208b82f9a5 100644 |
--- a/src/effects/gradients/Sk4fLinearGradient.h |
+++ b/src/effects/gradients/Sk4fLinearGradient.h |
@@ -27,14 +27,16 @@ protected: |
private: |
using INHERITED = GradientShaderBase4fContext; |
- template<typename DstType, SkColorProfileType, TileMode> |
+ template<DstType, TileMode> |
class LinearIntervalProcessor; |
- template <typename DstType, SkColorProfileType, ApplyPremul> |
- void shadePremulSpan(int x, int y, DstType[], int count) const; |
+ template <DstType dstType, ApplyPremul premul> |
+ void shadePremulSpan(int x, int y, typename DstTraits<dstType, premul>::Type[], |
+ int count) const; |
- template <typename DstType, SkColorProfileType, ApplyPremul, SkShader::TileMode tileMode> |
- void shadeSpanInternal(int x, int y, DstType[], int count) const; |
+ template <DstType dstType, ApplyPremul premul, SkShader::TileMode tileMode> |
+ void shadeSpanInternal(int x, int y, typename DstTraits<dstType, premul>::Type[], |
+ int count) const; |
const Interval* findInterval(SkScalar fx) const; |