diff options
author | bungeman <bungeman@google.com> | 2015-04-08 08:06:26 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-08 08:06:26 -0700 |
commit | 693e9930571929cbdc83f1e678b151a768c1bad8 (patch) | |
tree | 5ad33e43757ffdeff7a4ee679ff61c1c6398be9f /tests/RefCntTest.cpp | |
parent | f1f8895cbec1a9b7ec4eaa7c322aa03a4469612a (diff) |
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
Diffstat (limited to 'tests/RefCntTest.cpp')
-rw-r--r-- | tests/RefCntTest.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/RefCntTest.cpp b/tests/RefCntTest.cpp index cf4acc6233..b73618d9f3 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) { |