changing a member name in hopes that this has something to do with the Mac bustage. I can't see what else might be wrong. Pure voodoo!
git-svn-id: svn://10.0.0.236/trunk@29159 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
90615d6714
commit
dea8acc4e6
@ -62,7 +62,7 @@ nsInterfaceInfoManager::GetInterfaceInfoManager()
|
||||
if(!impl)
|
||||
{
|
||||
impl = new nsInterfaceInfoManager();
|
||||
if(!impl->initialized)
|
||||
if(!impl->ctor_succeeded)
|
||||
NS_RELEASE(impl);
|
||||
}
|
||||
if(impl)
|
||||
@ -90,7 +90,7 @@ static NS_DEFINE_IID(kAllocatorCID, NS_ALLOCATOR_CID);
|
||||
static NS_DEFINE_IID(kIAllocatorIID, NS_IALLOCATOR_IID);
|
||||
|
||||
nsInterfaceInfoManager::nsInterfaceInfoManager()
|
||||
: allocator(NULL), typelibRecords(NULL), initialized(PR_FALSE)
|
||||
: allocator(NULL), typelibRecords(NULL), ctor_succeeded(PR_FALSE)
|
||||
{
|
||||
NS_INIT_REFCNT();
|
||||
NS_ADDREF_THIS();
|
||||
@ -102,7 +102,7 @@ nsInterfaceInfoManager::nsInterfaceInfoManager()
|
||||
PR_ASSERT(this->allocator != NULL);
|
||||
|
||||
if(NS_SUCCEEDED(this->initInterfaceTables()))
|
||||
initialized = PR_TRUE;
|
||||
ctor_succeeded = PR_TRUE;
|
||||
}
|
||||
|
||||
static
|
||||
|
||||
@ -68,7 +68,7 @@ private:
|
||||
nsHashtable *IIDTable;
|
||||
|
||||
nsIAllocator *allocator;
|
||||
PRBool initialized;
|
||||
PRBool ctor_succeeded;
|
||||
};
|
||||
|
||||
#endif /* nsInterfaceInfoManager_h___ */
|
||||
|
||||
@ -62,7 +62,7 @@ nsInterfaceInfoManager::GetInterfaceInfoManager()
|
||||
if(!impl)
|
||||
{
|
||||
impl = new nsInterfaceInfoManager();
|
||||
if(!impl->initialized)
|
||||
if(!impl->ctor_succeeded)
|
||||
NS_RELEASE(impl);
|
||||
}
|
||||
if(impl)
|
||||
@ -90,7 +90,7 @@ static NS_DEFINE_IID(kAllocatorCID, NS_ALLOCATOR_CID);
|
||||
static NS_DEFINE_IID(kIAllocatorIID, NS_IALLOCATOR_IID);
|
||||
|
||||
nsInterfaceInfoManager::nsInterfaceInfoManager()
|
||||
: allocator(NULL), typelibRecords(NULL), initialized(PR_FALSE)
|
||||
: allocator(NULL), typelibRecords(NULL), ctor_succeeded(PR_FALSE)
|
||||
{
|
||||
NS_INIT_REFCNT();
|
||||
NS_ADDREF_THIS();
|
||||
@ -102,7 +102,7 @@ nsInterfaceInfoManager::nsInterfaceInfoManager()
|
||||
PR_ASSERT(this->allocator != NULL);
|
||||
|
||||
if(NS_SUCCEEDED(this->initInterfaceTables()))
|
||||
initialized = PR_TRUE;
|
||||
ctor_succeeded = PR_TRUE;
|
||||
}
|
||||
|
||||
static
|
||||
|
||||
@ -68,7 +68,7 @@ private:
|
||||
nsHashtable *IIDTable;
|
||||
|
||||
nsIAllocator *allocator;
|
||||
PRBool initialized;
|
||||
PRBool ctor_succeeded;
|
||||
};
|
||||
|
||||
#endif /* nsInterfaceInfoManager_h___ */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user