nsHTMLAreaElement::GetPathname(nsString& aPathname)
nsHTMLAreaElement::GetPathname(nsAWritableString& aPathname)
nsHTMLAreaElement::GetPathname(nsString& aPathname){  nsAutoString href;  nsCOMPtr<nsIURI> uri;  nsresult result = NS_OK;  aPathname.Truncate();   result = GetHref(href);  NS_ENSURE_SUCCESS(result, result);  result = NS_NewURI(getter_AddRefs(uri), href);  NS_ENSURE_SUCCESS(result, result);  nsCOMPtr<nsIURL> url(do_QueryInterface(uri));  NS_ENSURE_TRUE(url, NS_OK);  char* file;  result = url->GetFilePath(&file);  NS_ENSURE_SUCCESS(result, result);  aPathname.AssignWithConversion(file);  nsCRT::free(file);  return result;}