nsHTMLAreaElement::GetHostname(nsString& aHostname)
nsHTMLAreaElement::GetHostname(nsAWritableString& aHostname)
nsHTMLAreaElement::GetHostname(nsString& aHostname){  nsAutoString href;  nsIURI *url;  nsresult result = NS_OK;    result = GetHref(href);  if (NS_OK == result) {    result = NS_NewURI(&url, href);    if (NS_OK == result) {      char* host;      result = url->GetHost(&host);      if (result == NS_OK) {        aHostname.AssignWithConversion(host);        nsCRT::free(host);      }      NS_RELEASE(url);    }  }  return result;}