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__