Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Unified Diff: tests/RefCntTest.cpp

Issue 1867863002: Convert SkRefCnt to std::atomic. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Restore to 1. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/batches/GrBatch.h ('k') | tests/TLSTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « src/gpu/batches/GrBatch.h ('k') | tests/TLSTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698