mshtml: Get rid of no longer needed nsIComponentRegistrar::AutoRegister call.

This commit is contained in:
Jacek Caban 2010-08-25 20:25:06 +02:00 committed by Alexandre Julliard
parent 4f16b73fa4
commit 69637dbed6

View file

@ -546,15 +546,10 @@ static BOOL init_xpcom(const PRUnichar *gre_path)
ERR("Could not get nsIComponentManager: %08x\n", nsres);
nsres = NS_GetComponentRegistrar(&registrar);
if(NS_SUCCEEDED(nsres)) {
nsres = nsIComponentRegistrar_AutoRegister(registrar, NULL);
if(NS_FAILED(nsres))
ERR("AutoRegister(NULL) failed: %08x\n", nsres);
if(NS_SUCCEEDED(nsres))
init_nsio(pCompMgr, registrar);
}else {
else
ERR("NS_GetComponentRegistrar failed: %08x\n", nsres);
}
nsres = nsIComponentManager_CreateInstanceByContractID(pCompMgr, NS_APPSTARTUPNOTIFIER_CONTRACTID,
NULL, &IID_nsIObserver, (void**)&pStartNotif);