mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 779123 - Return NS_ERROR_FAILURE instead of false from nsDocShell::GetExtendedOrigin; r=jlebar
This commit is contained in:
parent
60db4333c3
commit
62d5914177
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user