Index: src/core/SkMaskGamma.h |
diff --git a/src/core/SkMaskGamma.h b/src/core/SkMaskGamma.h |
index 9d3fd9a344837ade23f5c6721c56d28099df99c8..1f2b73caacd44fdd92931d812975225bf49b5e46 100644 |
--- a/src/core/SkMaskGamma.h |
+++ b/src/core/SkMaskGamma.h |
@@ -92,8 +92,8 @@ void SkTMaskGamma_build_correcting_lut(uint8_t table[256], U8CPU srcI, SkScalar |
* @param B The number of luminance bits to use [1, 8] from the blue channel. |
*/ |
template <int R_LUM_BITS, int G_LUM_BITS, int B_LUM_BITS> class SkTMaskGamma : public SkRefCnt { |
+ SK_DECLARE_INST_COUNT(SkTMaskGamma) |
public: |
- SK_DECLARE_INST_COUNT_TEMPLATE(SkTMaskGamma) |
/** Creates a linear SkTMaskGamma. */ |
SkTMaskGamma() : fIsLinear(true) { } |
@@ -147,11 +147,6 @@ private: |
}; |
-#define MacroComma , |
-SK_DEFINE_INST_COUNT_TEMPLATE( |
- template <int R_LUM_BITS MacroComma int G_LUM_BITS MacroComma int B_LUM_BITS>, |
- SkTMaskGamma<R_LUM_BITS MacroComma G_LUM_BITS MacroComma B_LUM_BITS>); |
- |
/** |
* SkTMaskPreBlend is a tear-off of SkTMaskGamma. It provides the tables to |
* convert a linear alpha value for a given channel to a gamma correcting alpha |