nsHTMLImageElement::GetSrc(nsString& aSrc)
nsHTMLImageElement::GetSrc(nsAWritableString& aSrc)
nsHTMLImageElement::GetSrc(nsString& aSrc){  // Resolve url to an absolute url  nsresult rv = NS_OK;  nsAutoString relURLSpec;  nsIURI* baseURL = nsnull;  // Get base URL.  GetBaseURL(baseURL);  // Get href= attribute (relative URL).  mInner.GetAttribute(kNameSpaceID_HTML, nsHTMLAtoms::src, relURLSpec);  if (nsnull != baseURL && relURLSpec.Length() > 0) {    // Get absolute URL.    rv = NS_MakeAbsoluteURI(aSrc, relURLSpec, baseURL);  }  else {    // Absolute URL is same as relative URL.    aSrc = relURLSpec;  }  NS_IF_RELEASE(baseURL);