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

@@ -109,6 +109,7 @@ nsWyciwygProtocolHandler::NewURI(const nsACString &aSpec,
NS_IMETHODIMP
nsWyciwygProtocolHandler::NewChannel(nsIURI* url, nsIChannel* *result)
{
NS_ENSURE_ARG_POINTER(url);
nsresult rv;
nsWyciwygChannel* channel = new nsWyciwygChannel();