GetBaseURL(*getter_AddRefs(baseURL));
GetBaseURL(getter_AddRefs(baseURL));
nsHTMLImageElement::GetSrc(nsAString& aSrc){  // Resolve url to an absolute url  nsresult rv = NS_OK;  nsAutoString relURLSpec;  nsCOMPtr<nsIURI> baseURL;  // Get base URL.  GetBaseURL(*getter_AddRefs(baseURL));  // Get href= attribute (relative URL).  nsGenericHTMLLeafElement::GetAttr(kNameSpaceID_None, nsHTMLAtoms::src,                                    relURLSpec);  relURLSpec.Trim(" \t\n\r");  if (baseURL && !relURLSpec.IsEmpty()) {    // Get absolute URL.    rv = NS_MakeAbsoluteURI(aSrc, relURLSpec, baseURL);  }  else {    // Absolute URL is same as relative URL.    aSrc = relURLSpec;  }  return rv;}