Index: tests/RefCntTest.cpp |
diff --git a/tests/RefCntTest.cpp b/tests/RefCntTest.cpp |
index cf4acc62332fec41e5a5e7658e85d5274baeeab9..b73618d9f34bd46e4d8e79ab04c20b019d5c667a 100644 |
--- a/tests/RefCntTest.cpp |
+++ b/tests/RefCntTest.cpp |
@@ -11,21 +11,6 @@ |
#include "SkWeakRefCnt.h" |
#include "Test.h" |
-class InstCounterClass { |
-public: |
- InstCounterClass() { fCount = gInstCounter++; } |
- InstCounterClass(const InstCounterClass& src) { |
- fCount = src.fCount; |
- gInstCounter += 1; |
- } |
- virtual ~InstCounterClass() { gInstCounter -= 1; } |
- |
- static int gInstCounter; |
- int fCount; |
-}; |
- |
-int InstCounterClass::gInstCounter; |
- |
static void bounce_ref(void* data) { |
SkRefCnt* ref = static_cast<SkRefCnt*>(data); |
for (int i = 0; i < 100000; ++i) { |