plumb SkInstCnt to all subclasses of GrRefCnt
git-svn-id: http://skia.googlecode.com/svn/trunk@4353 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h
index 61925cd..e4a748f 100644
--- a/src/gpu/GrDrawState.h
+++ b/src/gpu/GrDrawState.h
@@ -21,8 +21,9 @@
class GrDrawState : public GrRefCnt {
-
public:
+ SK_DECLARE_INST_COUNT(GrDrawState)
+
/**
* Number of texture stages. Each stage takes as input a color and
* 2D texture coordinates. The color input to the first enabled stage is the
@@ -879,6 +880,7 @@
// only compared if the color matrix enable flag is set
float fColorMatrix[20]; // 5 x 4 matrix
+ typedef GrRefCnt INHERITED;
};
#endif