Bug 320498 Fix NewChannel impls to handle null in argument
r=darin sr=darin git-svn-id: svn://10.0.0.236/trunk@211808 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -76,7 +76,7 @@ static const int kRedirTotal = NS_ARRAY_LENGTH(kRedirMap);
|
||||
NS_IMETHODIMP
|
||||
nsAboutRedirector::NewChannel(nsIURI *aURI, nsIChannel **result)
|
||||
{
|
||||
NS_ASSERTION(aURI, "must not be null");
|
||||
NS_ENSURE_ARG_POINTER(aURI);
|
||||
NS_ASSERTION(result, "must not be null");
|
||||
|
||||
nsresult rv;
|
||||
|
||||
Reference in New Issue
Block a user