re-enable inst counting
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 28 Aug 2012 12:43:54 +0000 (12:43 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 28 Aug 2012 12:43:54 +0000 (12:43 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@5308 2bbb7eff-a529-9590-31e7-b0007b416f81

include/core/SkImage.h
include/core/SkSurface.h
src/image/SkImage.cpp
src/image/SkSurface.cpp

index b0071e28d888fc88997e8c658fc41c5c2af31628..985a3bbbbb75ddfc245008cc7d856f02da875af9 100644 (file)
@@ -37,7 +37,7 @@ class SkColorSpace;
  */
 class SkImage : public SkRefCnt {
 public:
-//    SK_DECLARE_INST_COUNT(SkImage)
+    SK_DECLARE_INST_COUNT(SkImage)
 
     enum ColorType {
         kAlpha_8_ColorType,
index 9f8908a3bda80599dc967d140c75b7988bed464e..2034c8907cad0cdcaf991bef255e7080730ac21f 100644 (file)
@@ -26,7 +26,7 @@ class GrRenderTarget;
  */
 class SkSurface : public SkRefCnt {
 public:
-//    SK_DECLARE_INST_COUNT(SkSurface)
+    SK_DECLARE_INST_COUNT(SkSurface)
 
     /**
      *  Create a new surface, using the specified pixels/rowbytes as its
index 251721f00d76702c165e2bed46a58a3ad71f566c..b6fc4899da717c9e4cd34d1a44e01d5e547646f8 100644 (file)
@@ -10,7 +10,7 @@
 #include "SkBitmap.h"
 #include "SkCanvas.h"
 
-//SK_DEFINE_INST_COUNT(SkImage)
+SK_DEFINE_INST_COUNT(SkImage)
 
 static SkImage_Base* asIB(SkImage* image) {
     return static_cast<SkImage_Base*>(image);
index 7b82a340da19173fbd9fc3273fdc7e66ca58b781..2860a5863dd35db1da2b9b23d7b8fb2445de349e 100644 (file)
@@ -9,7 +9,7 @@
 #include "SkImagePriv.h"
 #include "SkCanvas.h"
 
-//SK_DEFINE_INST_COUNT(SkSurface)
+SK_DEFINE_INST_COUNT(SkSurface)
 
 ///////////////////////////////////////////////////////////////////////////////