Index: src/effects/gradients/Sk4fGradientBase.h |
diff --git a/src/effects/gradients/Sk4fGradientBase.h b/src/effects/gradients/Sk4fGradientBase.h |
index f745f8fc0bce6eb1f49c6eefdea53f55fe3369d8..03f7e6ef2606b610f914cf1ee2eacd840503eea7 100644 |
--- a/src/effects/gradients/Sk4fGradientBase.h |
+++ b/src/effects/gradients/Sk4fGradientBase.h |
@@ -8,6 +8,7 @@ |
#ifndef Sk4fGradientBase_DEFINED |
#define Sk4fGradientBase_DEFINED |
+#include "Sk4fGradientPriv.h" |
#include "SkColor.h" |
#include "SkGradientShaderPriv.h" |
#include "SkMatrix.h" |
@@ -61,10 +62,10 @@ private: |
template<typename DstType, SkShader::TileMode tileMode> |
class TSampler; |
- template <typename DstType, bool do_premul> |
+ template <typename DstType, ApplyPremul> |
void shadePremulSpan(int x, int y, DstType[], int count) const; |
- template <typename DstType, bool do_premul, SkShader::TileMode tileMode> |
+ template <typename DstType, ApplyPremul, SkShader::TileMode tileMode> |
void shadeSpanInternal(int x, int y, DstType[], int count) const; |
}; |