Index: src/core/SkColorTable.cpp |
diff --git a/src/core/SkColorTable.cpp b/src/core/SkColorTable.cpp |
index 0d033ec2be9e87cbcc08e7de6209c7889d583b1e..f2eab614838c35eee04ad0f63b50e4ef93af6d2c 100644 |
--- a/src/core/SkColorTable.cpp |
+++ b/src/core/SkColorTable.cpp |
@@ -70,7 +70,7 @@ |
build_16bitcache(f16BitCache, fColors, fCount); |
} |
- SkDEBUGCODE(sk_atomic_inc(&f16BitCacheLockCount)); |
+ SkDEBUGCODE(f16BitCacheLockCount += 1); |
return f16BitCache; |
} |