NS_RELEASE(content);
PRBool nsHTMLFrameInnerFrame::GetURL(nsIContent* aContent, nsString& aResult){  PRBool result = PR_FALSE;  nsIHTMLContent* content = nsnull;  aContent->QueryInterface(kIHTMLContentIID, (void**) &content);  if (nsnull != content) {    nsHTMLValue value;    if (NS_CONTENT_ATTR_HAS_VALUE == (content->GetHTMLAttribute(nsHTMLAtoms::src, value))) {      if (eHTMLUnit_String == value.GetUnit()) {        value.GetStringValue(aResult);        if (aResult.Length() > 0) {          result = PR_TRUE;        }      }    }    NS_RELEASE(content);  }  if (PR_FALSE == result) {    aResult.SetLength(0);  }  return result;}