Bug 1021797 - Rename ArenaFalseCleaner to PORT_FreeArena_false. r=keeler
authorCamilo Viecco <cviecco@mozilla.com>
Fri, 06 Jun 2014 14:11:08 -0700
changeset 206559 33e00e8b000e6d020d7c8ec7094b0813165240d0
parent 206558 3efccd28317bfd51327f881913f4a566ff42333a
child 206560 cfd4978a9a371de139922243077ccb6ec365e454
push id3741
push userasasaki@mozilla.com
push dateMon, 21 Jul 2014 20:25:18 +0000
treeherdermozilla-beta@4d6f46f5af68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskeeler
bugs1021797
milestone32.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1021797 - Rename ArenaFalseCleaner to PORT_FreeArena_false. r=keeler
security/pkix/include/pkix/pkixtypes.h
--- a/security/pkix/include/pkix/pkixtypes.h
+++ b/security/pkix/include/pkix/pkixtypes.h
@@ -30,23 +30,23 @@
 #include "plarena.h"
 #include "cert.h"
 #include "keyhi.h"
 #include "stdint.h"
 
 namespace mozilla { namespace pkix {
 
 inline void
-ArenaFalseCleaner(PLArenaPool *arena) {
+PORT_FreeArena_false(PLArenaPool* arena) {
   // PL_FreeArenaPool can't be used because it doesn't actually free the
   // memory, which doesn't work well with memory analysis tools
   return PORT_FreeArena(arena, PR_FALSE);
 }
 
-typedef ScopedPtr<PLArenaPool, ArenaFalseCleaner> ScopedPLArenaPool;
+typedef ScopedPtr<PLArenaPool, PORT_FreeArena_false> ScopedPLArenaPool;
 
 typedef ScopedPtr<CERTCertificate, CERT_DestroyCertificate>
         ScopedCERTCertificate;
 typedef ScopedPtr<CERTCertList, CERT_DestroyCertList> ScopedCERTCertList;
 
 MOZILLA_PKIX_ENUM_CLASS EndEntityOrCA { MustBeEndEntity = 0, MustBeCA = 1 };
 
 typedef unsigned int KeyUsages;