Bug 818787 - Return back NS_ENSURE_TRUE(appShell, into XRE_RunAppShell. r=cjones

This commit is contained in:
Oleg Romashin 2012-12-10 09:14:52 -05:00
parent 0a18b69440
commit 1d26eb893f

View File

@ -603,6 +603,7 @@ nsresult
XRE_RunAppShell()
{
nsCOMPtr<nsIAppShell> appShell(do_GetService(kAppShellCID));
NS_ENSURE_TRUE(appShell, NS_ERROR_FAILURE);
#if defined(XP_MACOSX)
{
// In content processes that want XPCOM (and hence want