Remove unused InstCounterClass.
This was added with r4719 (f7943035
) to support testing SkTRefArray. With703d3c70
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:
parent
f1f8895cbe
commit
693e993057
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user