mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1230351: Replace ThirdPartyUtil::IsThirdPartyInternal's warning-spammy NS_ENSURE_ARG with an equivalent check that lacks the warning. r=mrbkap
This commit is contained in:
parent
9d10d201c0
commit
d9b9142c0c
@ -46,7 +46,9 @@ ThirdPartyUtil::IsThirdPartyInternal(const nsCString& aFirstDomain,
|
||||
nsIURI* aSecondURI,
|
||||
bool* aResult)
|
||||
{
|
||||
NS_ENSURE_ARG(aSecondURI);
|
||||
if (!aSecondURI) {
|
||||
return NS_ERROR_INVALID_ARG;
|
||||
}
|
||||
|
||||
// Get the base domain for aSecondURI.
|
||||
nsCString secondDomain;
|
||||
|
Loading…
Reference in New Issue
Block a user