From aa2d139a2dda110e622c48e8cbde7a69e8cfb7a4 Mon Sep 17 00:00:00 2001 From: "waterson%netscape.com" Date: Wed, 17 May 2006 02:33:26 +0000 Subject: [PATCH] Bug 77209. Get rid of unused module instance counting in order to eliminate duplicate global symbols. r=erik, sr=shaver --- intl/uconv/util/nsUnicodeDecodeHelper.cpp | 2 -- intl/uconv/util/nsUnicodeEncodeHelper.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/intl/uconv/util/nsUnicodeDecodeHelper.cpp b/intl/uconv/util/nsUnicodeDecodeHelper.cpp index 2863af3e531..710a4ed0c1d 100644 --- a/intl/uconv/util/nsUnicodeDecodeHelper.cpp +++ b/intl/uconv/util/nsUnicodeDecodeHelper.cpp @@ -86,12 +86,10 @@ NS_IMPL_ISUPPORTS1(nsUnicodeDecodeHelper, nsIUnicodeDecodeHelper) nsUnicodeDecodeHelper::nsUnicodeDecodeHelper() { NS_INIT_REFCNT(); - PR_AtomicIncrement(&g_InstanceCount); } nsUnicodeDecodeHelper::~nsUnicodeDecodeHelper() { - PR_AtomicDecrement(&g_InstanceCount); } //---------------------------------------------------------------------- diff --git a/intl/uconv/util/nsUnicodeEncodeHelper.cpp b/intl/uconv/util/nsUnicodeEncodeHelper.cpp index 9e80dc04867..2aaed500949 100644 --- a/intl/uconv/util/nsUnicodeEncodeHelper.cpp +++ b/intl/uconv/util/nsUnicodeEncodeHelper.cpp @@ -80,12 +80,10 @@ NS_IMPL_ISUPPORTS1(nsUnicodeEncodeHelper, nsIUnicodeEncodeHelper) nsUnicodeEncodeHelper::nsUnicodeEncodeHelper() { NS_INIT_REFCNT(); - PR_AtomicIncrement(&g_InstanceCount); } nsUnicodeEncodeHelper::~nsUnicodeEncodeHelper() { - PR_AtomicDecrement(&g_InstanceCount); } //----------------------------------------------------------------------