From 2e3a4dcc245b094cb6807fbce4c45998466873ee Mon Sep 17 00:00:00 2001 From: Kai Engert Date: Fri, 26 Nov 2010 12:20:30 -0500 Subject: [PATCH] Bug 482939 - Additional patch; r=roc a=bsmedberg --- security/manager/ssl/src/nsClientAuthRemember.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/manager/ssl/src/nsClientAuthRemember.cpp b/security/manager/ssl/src/nsClientAuthRemember.cpp index 6504a198a82..01d5f9b3c4f 100644 --- a/security/manager/ssl/src/nsClientAuthRemember.cpp +++ b/security/manager/ssl/src/nsClientAuthRemember.cpp @@ -64,14 +64,14 @@ NS_IMPL_THREADSAFE_ISUPPORTS2(nsClientAuthRememberService, nsClientAuthRememberService::nsClientAuthRememberService() { - monitor = PR_NewMonitor(); + monitor = nsAutoMonitor::NewMonitor("security.clientAuthRememberServiceMonitor"); } nsClientAuthRememberService::~nsClientAuthRememberService() { RemoveAllFromMemory(); if (monitor) - PR_DestroyMonitor(monitor); + nsAutoMonitor::DestroyMonitor(monitor); } nsresult