From f3b021ab5521694258a5491a849a4df6d69642c5 Mon Sep 17 00:00:00 2001 From: "dbaron%fas.harvard.edu" Date: Tue, 2 Jul 2002 04:07:20 +0000 Subject: [PATCH] Attempt to fix BeOS bustage. b=148046 git-svn-id: svn://10.0.0.236/trunk@124470 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/build/nsXPComInit.cpp | 4 +++- mozilla/xpcom/ds/nsRecyclingAllocator.h | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mozilla/xpcom/build/nsXPComInit.cpp b/mozilla/xpcom/build/nsXPComInit.cpp index cac8aead99c..d7b778812d6 100644 --- a/mozilla/xpcom/build/nsXPComInit.cpp +++ b/mozilla/xpcom/build/nsXPComInit.cpp @@ -148,6 +148,8 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsTimerManager); NS_GENERIC_FACTORY_CONSTRUCTOR(nsVariant); +NS_GENERIC_FACTORY_CONSTRUCTOR(nsRecyclingAllocatorImpl); + #ifdef MOZ_TIMELINE NS_GENERIC_FACTORY_CONSTRUCTOR(nsTimelineService); #endif @@ -286,7 +288,7 @@ static const nsModuleComponentInfo components[] = { COMPONENT(VARIANT, nsVariantConstructor), COMPONENT(INTERFACEINFOMANAGER_SERVICE, nsXPTIInterfaceInfoManagerGetSingleton), - COMPONENT(RECYCLINGALLOCATOR, nsRecyclingAllocatorImpl::nsRecyclingAllocatorImplConstructor), + COMPONENT(RECYCLINGALLOCATOR, nsRecyclingAllocatorImplConstructor), }; #undef COMPONENT diff --git a/mozilla/xpcom/ds/nsRecyclingAllocator.h b/mozilla/xpcom/ds/nsRecyclingAllocator.h index a8a763d0881..b76a0161701 100644 --- a/mozilla/xpcom/ds/nsRecyclingAllocator.h +++ b/mozilla/xpcom/ds/nsRecyclingAllocator.h @@ -204,7 +204,5 @@ public: } virtual ~nsRecyclingAllocatorImpl() {} - - NS_GENERIC_FACTORY_CONSTRUCTOR(nsRecyclingAllocatorImpl); }; #endif // nsRecyclingAllocator_h__