aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GrMemoryPoolTest.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-21 15:16:41 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-21 15:16:41 +0000
commita9590fc00c4aa2fd34329e552e6396c457702a76 (patch)
treeb1d3435346b9d6878cd077f5f2322e7bace32800 /tests/GrMemoryPoolTest.cpp
parent03f970652e07c6832cae41fa374cb68ca80d472c (diff)
Fixed compilation issue when instance counting is disabled
Diffstat (limited to 'tests/GrMemoryPoolTest.cpp')
-rw-r--r--tests/GrMemoryPoolTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/GrMemoryPoolTest.cpp b/tests/GrMemoryPoolTest.cpp
index 17ff69dc51..3f00f673c5 100644
--- a/tests/GrMemoryPoolTest.cpp
+++ b/tests/GrMemoryPoolTest.cpp
@@ -233,7 +233,7 @@ static void test_memory_pool(skiatest::Reporter* reporter) {
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
}