Index: tests/RefCntTest.cpp |
diff --git a/tests/RefCntTest.cpp b/tests/RefCntTest.cpp |
index a9b461f352584b66b17421da3e40ec4be446dc78..36915932b3e4ae2f7470d9baaee758c264ec5f8b 100644 |
--- a/tests/RefCntTest.cpp |
+++ b/tests/RefCntTest.cpp |
@@ -71,7 +71,7 @@ static void test_weakRefCnt(skiatest::Reporter* reporter) { |
thing4.join(); |
REPORTER_ASSERT(reporter, ref->unique()); |
- REPORTER_ASSERT(reporter, ref->getWeakCnt() == 1); |
+ SkDEBUGCODE(REPORTER_ASSERT(reporter, ref->getWeakCnt() == 1)); |
ref->unref(); |
} |