Bug 813947 - Ensure pointer argument validity. r=bsmedberg

This commit is contained in:
Georg Fritzsche 2012-11-26 19:45:34 +01:00
parent fb3ce1f70b
commit f339646e27

View File

@ -193,6 +193,10 @@ nsresult nsDocumentOpenInfo::Prepare()
NS_IMETHODIMP nsDocumentOpenInfo::OnStartRequest(nsIRequest *request, nsISupports * aCtxt)
{
LOG(("[0x%p] nsDocumentOpenInfo::OnStartRequest", this));
MOZ_ASSERT(request);
if (!request) {
return NS_ERROR_UNEXPECTED;
}
nsresult rv = NS_OK;