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:
timeless%mozdev.org
2006-09-15 09:52:03 +00:00
parent 3366e920ed
commit 4978db56ac

View File

@@ -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;