nsCOMPtr<nsIAtom> type; aContent->GetTag(getter_AddRefs(type));
PRBool nsHTMLFrameInnerFrame::GetURL(nsIContent* aContent, nsString& aResult){  aResult.SetLength(0);  nsCOMPtr<nsIAtom> type;  aContent->GetTag(getter_AddRefs(type));  if (type.get() == nsHTMLAtoms::object) {    if (NS_CONTENT_ATTR_HAS_VALUE == (aContent->GetAttr(kNameSpaceID_None, nsHTMLAtoms::data, aResult)))      if (!aResult.IsEmpty())        return PR_TRUE;  }else    if (NS_CONTENT_ATTR_HAS_VALUE == (aContent->GetAttr(kNameSpaceID_None, nsHTMLAtoms::src, aResult)))      if (!aResult.IsEmpty())        return PR_TRUE;  return PR_FALSE;}