| Index: src/effects/gradients/Sk4fGradientBase.h
|
| diff --git a/src/effects/gradients/Sk4fGradientBase.h b/src/effects/gradients/Sk4fGradientBase.h
|
| index 03f7e6ef2606b610f914cf1ee2eacd840503eea7..ddd0b2bc466dc2bce365a54f335f2ec1fb22dea8 100644
|
| --- a/src/effects/gradients/Sk4fGradientBase.h
|
| +++ b/src/effects/gradients/Sk4fGradientBase.h
|
| @@ -59,14 +59,16 @@ private:
|
| void addMirrorIntervals(const SkGradientShaderBase&,
|
| const Sk4f& componentScale, bool reverse);
|
|
|
| - template<typename DstType, SkShader::TileMode tileMode>
|
| + template<DstType, SkShader::TileMode tileMode>
|
| class TSampler;
|
|
|
| - template <typename DstType, 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, 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;
|
| };
|
|
|
| #endif // Sk4fGradientBase_DEFINED
|
|
|