mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Fix Linux compile errors/warnings in xpcom/components
This commit is contained in:
parent
a7e67d32ad
commit
dfd21e98ac
@ -417,7 +417,7 @@ nsComponentManagerImpl::RegisterModule(const mozilla::Module* aModule,
|
||||
entry->entry,
|
||||
entry->value);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void
|
||||
nsComponentManagerImpl::RegisterCIDEntry(const mozilla::Module::CIDEntry* aEntry,
|
||||
@ -1260,7 +1260,7 @@ nsComponentManagerImpl::RegisterFactory(const nsCID& aClass,
|
||||
const char* aContractID,
|
||||
nsIFactory* aFactory)
|
||||
{
|
||||
nsAutoPtr<nsFactoryEntry> f = new nsFactoryEntry(aFactory);
|
||||
nsAutoPtr<nsFactoryEntry> f(new nsFactoryEntry(aFactory));
|
||||
|
||||
nsAutoMonitor mon(mMon);
|
||||
nsFactoryEntry* oldf = mFactories.Get(aClass);
|
||||
|
Loading…
Reference in New Issue
Block a user