rv = pNetService->NewURI(newspecC, nsnull, aInstancePtrResult);
rv = pNetService->NewURI(newspecC.get(), nsnull, aInstancePtrResult);
nsMsgNewURL(nsIURI** aInstancePtrResult, const char * aSpec){   nsresult rv = NS_OK;  if (nsnull == aInstancePtrResult)     return NS_ERROR_NULL_POINTER;  nsCOMPtr<nsIIOService> pNetService(do_GetService(kIOServiceCID, &rv));   if (NS_SUCCEEDED(rv) && pNetService)  {  	if (PL_strstr(aSpec, "://") == nsnull)  	{  		nsAutoString newSpec; newSpec.AssignWithConversion("http://");  		newSpec.AppendWithConversion(aSpec);      nsCAutoString newspecC;      newspecC.AssignWithConversion(newSpec);		rv = pNetService->NewURI(newspecC, nsnull, aInstancePtrResult);  	}  	else		rv = pNetService->NewURI(aSpec, nsnull, aInstancePtrResult);  }  return rv;}