| Index: include/gpu/GrEffectStage.h
|
| diff --git a/include/gpu/GrEffectStage.h b/include/gpu/GrEffectStage.h
|
| index 65c7bebdc7056f7da58960ea61e489fd5c2cd73d..c8a785c12449392a91a228807f798744932d2e93 100644
|
| --- a/include/gpu/GrEffectStage.h
|
| +++ b/include/gpu/GrEffectStage.h
|
| @@ -18,8 +18,10 @@
|
|
|
| #include "SkShader.h"
|
|
|
| -class GrEffectStage {
|
| +class GrEffectStage : public SkRefCnt {
|
| public:
|
| + SK_DECLARE_INST_COUNT(GrEffectStage);
|
| +
|
| explicit GrEffectStage(const GrEffect* effect, int attrIndex0 = -1, int attrIndex1 = -1)
|
| : fEffect(SkRef(effect)) {
|
| fCoordChangeMatrixSet = false;
|
| @@ -141,6 +143,8 @@ private:
|
| SkMatrix fCoordChangeMatrix;
|
| SkAutoTUnref<const GrEffect> fEffect;
|
| int fVertexAttribIndices[2];
|
| +
|
| + typedef SkRefCnt INHERITED;
|
| };
|
|
|
| #endif
|
|
|