Bug 320498 Fix NewChannel impls to handle null in argument

r=darin sr=darin


git-svn-id: svn://10.0.0.236/trunk@186212 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
timeless%mozdev.org
2005-12-18 01:50:50 +00:00
parent cfe911e0e0
commit b5ef4d21fa
24 changed files with 26 additions and 3 deletions

View File

@@ -125,6 +125,7 @@ NS_IMETHODIMP
nsDateTimeHandler::NewProxiedChannel(nsIURI* url, nsIProxyInfo* proxyInfo,
nsIChannel* *result)
{
NS_ENSURE_ARG_POINTER(url);
nsresult rv;
nsDateTimeChannel *chan = new nsDateTimeChannel();