Fixes NS_InitEmbedding unconditionally calls AutoRegister. This also removes xpinstall from using component.reg which I believe is the last users of this file. r=chak,dveditz sr=bryner b=149208
git-svn-id: svn://10.0.0.236/trunk@127101 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -100,7 +100,7 @@ nsresult NS_InitEmbedding(nsILocalFile *mozBinDirectory,
|
||||
NS_ASSERTION(PR_FALSE, "Could not QI to registrar");
|
||||
return rv;
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
rv = registrar->AutoRegister(nsnull);
|
||||
|
||||
if (NS_FAILED(rv))
|
||||
@@ -133,7 +133,7 @@ nsresult NS_InitEmbedding(nsILocalFile *mozBinDirectory,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
sRegistryInitializedFlag = PR_TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user