Bug 779123 - Return NS_ERROR_FAILURE instead of false from nsDocShell::GetExtendedOrigin; r=jlebar

This commit is contained in:
Aryeh Gregor 2012-08-01 18:46:48 +03:00
parent 60db4333c3
commit 62d5914177

View File

@ -11381,7 +11381,7 @@ nsDocShell::GetExtendedOrigin(nsIURI *aUri, nsACString &aResult)
nsCOMPtr<nsIScriptSecurityManager> ssmgr =
do_GetService(NS_SCRIPTSECURITYMANAGER_CONTRACTID);
NS_ENSURE_TRUE(ssmgr, false);
NS_ENSURE_TRUE(ssmgr, NS_ERROR_FAILURE);
return ssmgr->GetExtendedOrigin(aUri, mAppId, isInBrowserElement, aResult);
}