nsCOMPtr<nsILoadGroup> group = do_QueryReferent(mLoadGroup);
nsCOMPtr<nsISupports> loadContext (do_QueryReferent(mLoadContext)); nsCOMPtr<nsILoadGroup> group (do_GetInterface(loadContext));
ImageNetContextImpl::CreateURL(const char *aURL,                                NET_ReloadMethod aReloadMethod){  ilIURL *url;  nsCOMPtr<nsILoadGroup> group = do_QueryReferent(mLoadGroup);  if (NS_NewImageURL(&url, aURL, group) == NS_OK)  {    return url;  }  else {    return nsnull;  }}