commit | a9590fc00c4aa2fd34329e552e6396c457702a76 | [log] [tgz] |
---|---|---|
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Aug 21 15:16:41 2012 +0000 |
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Aug 21 15:16:41 2012 +0000 |
tree | b1d3435346b9d6878cd077f5f2322e7bace32800 | |
parent | 03f970652e07c6832cae41fa374cb68ca80d472c [diff] |
Fixed compilation issue when instance counting is disabled http://codereview.appspot.com/6462089/ git-svn-id: http://skia.googlecode.com/svn/trunk@5210 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/GrMemoryPoolTest.cpp b/tests/GrMemoryPoolTest.cpp index 17ff69d..3f00f67 100644 --- a/tests/GrMemoryPoolTest.cpp +++ b/tests/GrMemoryPoolTest.cpp
@@ -233,7 +233,7 @@ REPORTER_ASSERT(reporter, rec.fInstance->checkValues(rec.fValue)); delete rec.fInstance; } -#ifdef SK_DEBUG +#ifdef SK_ENABLE_INST_COUNT REPORTER_ASSERT(reporter, !A::GetInstanceCount()); #endif }