Remove unused InstCounterClass.
authorbungeman <bungeman@google.com>
Wed, 8 Apr 2015 15:06:26 +0000 (08:06 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 8 Apr 2015 15:06:26 +0000 (08:06 -0700)
This was added with r4719 (f7943035) to support testing
SkTRefArray. With 703d3c70 SkTRefArray and the associated test was
removed, but the supporting InstCounterClass was not.

Review URL: https://codereview.chromium.org/1063403003

tests/RefCntTest.cpp

index cf4acc6..b73618d 100644 (file)
 #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) {