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

Unified Diff: nss/lib/base/arena.c

Issue 16132005: Allow NSS to be built with NO_NSPR_10_SUPPORT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Created 7 years, 7 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
« no previous file with comments | « nss.gyp ('k') | nss/lib/certdb/alg1485.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: nss/lib/base/arena.c
===================================================================
--- nss/lib/base/arena.c (revision 203524)
+++ nss/lib/base/arena.c (working copy)
@@ -704,7 +704,7 @@
nss_arena_call_destructor_chain(arenaMark->next_destructor);
#endif /* ARENA_DESTRUCTOR_LIST */
- PR_ARENA_RELEASE(&arena->pool, inner_mark);
+ PL_ARENA_RELEASE(&arena->pool, inner_mark);
/* No error return */
}
@@ -797,7 +797,7 @@
void *rv;
struct pointer_header *h;
PRUint32 my_size = size + sizeof(struct pointer_header);
- PR_ARENA_ALLOCATE(p, &arena->pool, my_size);
+ PL_ARENA_ALLOCATE(p, &arena->pool, my_size);
if( (void *)NULL == p ) {
nss_SetError(NSS_ERROR_NO_MEMORY);
return (void *)NULL;
@@ -1179,7 +1179,7 @@
return pointer;
}
- PR_ARENA_ALLOCATE(p, &arena->pool, my_newSize);
+ PL_ARENA_ALLOCATE(p, &arena->pool, my_newSize);
if( (void *)NULL == p ) {
PR_Unlock(arena->lock);
nss_SetError(NSS_ERROR_NO_MEMORY);
« no previous file with comments | « nss.gyp ('k') | nss/lib/certdb/alg1485.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698