зеркало из https://github.com/mozilla/pjs.git
Mfcembed no longer runs in Visual Studio Debugger, r=timeless, sr=alec, a=rjesup, b=166977
This commit is contained in:
Родитель
2baa3ecbf8
Коммит
bdb2708779
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче