Mfcembed no longer runs in Visual Studio Debugger, r=timeless, sr=alec, a=rjesup, b=166977
git-svn-id: svn://10.0.0.236/trunk@128989 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -97,7 +97,7 @@ nsresult NS_InitEmbedding(nsILocalFile *mozBinDirectory,
|
||||
nsCOMPtr<nsIComponentRegistrar> registrar = do_QueryInterface(sServiceManager, &rv);
|
||||
if (NS_FAILED(rv))
|
||||
{
|
||||
NS_ASSERTION(PR_FALSE, "Could not QI to registrar");
|
||||
NS_WARNING("Could not QI to registrar");
|
||||
return rv;
|
||||
}
|
||||
#ifdef DEBUG
|
||||
@@ -105,7 +105,7 @@ nsresult NS_InitEmbedding(nsILocalFile *mozBinDirectory,
|
||||
|
||||
if (NS_FAILED(rv))
|
||||
{
|
||||
NS_ASSERTION(PR_FALSE, "Could not AutoRegister");
|
||||
NS_WARNING("Could not AutoRegister");
|
||||
return rv;
|
||||
}
|
||||
|
||||
@@ -126,11 +126,7 @@ nsresult NS_InitEmbedding(nsILocalFile *mozBinDirectory,
|
||||
if (mreDir)
|
||||
{
|
||||
rv = registrar->AutoRegister(mreDir);
|
||||
if (NS_FAILED(rv))
|
||||
{
|
||||
NS_ASSERTION(PR_FALSE, "Could not AutoRegister MRE components");
|
||||
return rv;
|
||||
}
|
||||
NS_ASSERTION(NS_SUCCEEDED(rv), "Could not AutoRegister MRE components");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user