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

Unified Diff: nss/mozilla/security/nss/lib/dev/devtoken.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/security/nss/lib/dev/devtoken.c
===================================================================
--- nss/mozilla/security/nss/lib/dev/devtoken.c (revision 55475)
+++ nss/mozilla/security/nss/lib/dev/devtoken.c (working copy)
@@ -35,7 +35,7 @@
* ***** END LICENSE BLOCK ***** */
#ifdef DEBUG
-static const char CVS_ID[] = "@(#) $RCSfile: devtoken.c,v $ $Revision: 1.53 $ $Date: 2010/01/08 02:00:58 $";
+static const char CVS_ID[] = "@(#) $RCSfile: devtoken.c,v $ $Revision: 1.54 $ $Date: 2010/04/03 18:27:30 $";
#endif /* DEBUG */
#include "pkcs11.h"
@@ -65,7 +65,7 @@
)
{
if (tok) {
- if (PR_AtomicDecrement(&tok->base.refCount) == 0) {
+ if (PR_ATOMIC_DECREMENT(&tok->base.refCount) == 0) {
PZ_DestroyLock(tok->base.lock);
nssTokenObjectCache_Destroy(tok->cache);
/* The token holds the first/last reference to the slot.
@@ -99,7 +99,7 @@
NSSToken *tok
)
{
- PR_AtomicIncrement(&tok->base.refCount);
+ PR_ATOMIC_INCREMENT(&tok->base.refCount);
return tok;
}

Powered by Google App Engine
This is Rietveld 408576698