return gIOS->NewURI(spec, charset, baseURI, result);
nsCOMPtr<nsIIOService> serv; if (ioService == nsnull) { serv = do_GetIOService(&rv); if (NS_FAILED(rv)) return rv; ioService = serv.get(); }  return ioService->NewURI(spec, charset, baseURI, result);
NS_NewURI(nsIURI **result,           const nsACString &spec,           const char *charset,          nsIURI *baseURI){    ENSURE_IOSERVICE();    return gIOS->NewURI(spec, charset, baseURI, result);}