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

Unified Diff: nss/mozilla/security/nss/lib/dev/devslot.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/devslot.c
===================================================================
--- nss/mozilla/security/nss/lib/dev/devslot.c (revision 55475)
+++ nss/mozilla/security/nss/lib/dev/devslot.c (working copy)
@@ -35,7 +35,7 @@
* ***** END LICENSE BLOCK ***** */
#ifdef DEBUG
-static const char CVS_ID[] = "@(#) $RCSfile: devslot.c,v $ $Revision: 1.26 $ $Date: 2010/01/08 02:00:58 $";
+static const char CVS_ID[] = "@(#) $RCSfile: devslot.c,v $ $Revision: 1.27 $ $Date: 2010/04/03 18:27:30 $";
#endif /* DEBUG */
#include "pkcs11.h"
@@ -70,7 +70,7 @@
)
{
if (slot) {
- if (PR_AtomicDecrement(&slot->base.refCount) == 0) {
+ if (PR_ATOMIC_DECREMENT(&slot->base.refCount) == 0) {
PZ_DestroyLock(slot->base.lock);
return nssArena_Destroy(slot->base.arena);
}
@@ -107,7 +107,7 @@
NSSSlot *slot
)
{
- PR_AtomicIncrement(&slot->base.refCount);
+ PR_ATOMIC_INCREMENT(&slot->base.refCount);
return slot;
}

Powered by Google App Engine
This is Rietveld 408576698