Index: src/effects/SkBitmapAlphaThresholdShader.cpp |
=================================================================== |
--- src/effects/SkBitmapAlphaThresholdShader.cpp (revision 11939) |
+++ src/effects/SkBitmapAlphaThresholdShader.cpp (working copy) |
@@ -9,7 +9,7 @@ |
class BATShader : public SkShader { |
public: |
- SK_DECLARE_INST_COUNT(SkThresholdShader); |
+ SK_DECLARE_INST_COUNT(BATShader); |
BATShader(const SkBitmap& bitmap, SkRegion region, U8CPU); |
BATShader(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) { |
@@ -34,6 +34,8 @@ |
typedef SkShader INHERITED; |
}; |
+SK_DEFINE_INST_COUNT(BATShader) |
+ |
SkShader* SkBitmapAlphaThresholdShader::Create(const SkBitmap& bitmap, |
const SkRegion& region, |
U8CPU threshold) { |