diff options
author | 2014-11-21 05:35:54 -0800 | |
---|---|---|
committer | 2014-11-21 05:35:54 -0800 | |
commit | 0ddad31012dabfc1267effc8071d37f7d606efbe (patch) | |
tree | 942ae19129cff1465cf147ac2460a1d5f773c24d /include | |
parent | 8ebaa7171246eb5b3a7dd65ba42ef42a888508d7 (diff) |
Add MultiPictureDraw to nanobench
I would like some guard against performance regressions on our side before turning layer hoisting on in Chromium.
TBR=bsalomon@google.com
Review URL: https://codereview.chromium.org/731973005
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkColorTable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkColorTable.h b/include/core/SkColorTable.h index 00ef8548f6..cfd5110fe0 100644 --- a/include/core/SkColorTable.h +++ b/include/core/SkColorTable.h @@ -65,7 +65,7 @@ public: */ void unlock16BitCache() { SkASSERT(f16BitCacheLockCount > 0); - SkDEBUGCODE(f16BitCacheLockCount -= 1); + SkDEBUGCODE(sk_atomic_dec(&f16BitCacheLockCount);) } explicit SkColorTable(SkReadBuffer&); |