Remove unused InstCounterClass.

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
This commit is contained in:
bungeman 2015-04-08 08:06:26 -07:00 committed by Commit bot
parent f1f8895cbe
commit 693e993057

View File

@ -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) {