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 b0071e2..985a3bb 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 9f8908a..2034c89 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 251721f..b6fc489 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 7b82a34..2860a58 100644 (file)
@@ -9,7 +9,7 @@
 #include "SkImagePriv.h"
 #include "SkCanvas.h"
 
-//SK_DEFINE_INST_COUNT(SkSurface)
+SK_DEFINE_INST_COUNT(SkSurface)
 
 ///////////////////////////////////////////////////////////////////////////////