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

Unified Diff: nss/mozilla/nsprpub/pr/src/threads/prtpd.c

Issue 3135002: Update to NSS 3.12.7 and NSPR 4.8.6.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 10 years, 4 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
Index: nss/mozilla/nsprpub/pr/src/threads/prtpd.c
===================================================================
--- nss/mozilla/nsprpub/pr/src/threads/prtpd.c (revision 55475)
+++ nss/mozilla/nsprpub/pr/src/threads/prtpd.c (working copy)
@@ -137,7 +137,7 @@
PR_ASSERT(NULL != newIndex);
PR_ASSERT(NULL != _pr_tpd_destructors);
- index = PR_AtomicIncrement(&_pr_tpd_highwater) - 1; /* allocate index */
+ index = PR_ATOMIC_INCREMENT(&_pr_tpd_highwater) - 1; /* allocate index */
if (_PR_TPD_LIMIT <= index)
{
PR_SetError(PR_TPD_RANGE_ERROR, 0);

Powered by Google App Engine
This is Rietveld 408576698