else if (nsHTMLAtoms::noresize == aAttribute) { nsCOMPtr<nsIContent> parentContent; mContent->GetParent(*getter_AddRefs(parentContent));  nsCOMPtr<nsIAtom> parentTag; parentContent->GetTag(*getter_AddRefs(parentTag));  if (nsHTMLAtoms::frameset == parentTag) { nsIFrame* parentFrame = nsnull; GetParent(&parentFrame);  if (parentFrame) {   nsHTMLFramesetFrame* framesetFrame = nsnull; parentFrame->QueryInterface(kIFramesetFrameIID, (void **)&framesetFrame); if (framesetFrame) { framesetFrame->RecalculateBorderResize(); } } } }
nsHTMLFrameOuterFrame::AttributeChanged(nsIPresContext* aPresContext,                                        nsIContent* aChild,                                        PRInt32 aNameSpaceID,                                        nsIAtom* aAttribute,                                        PRInt32 aHint){  if (nsHTMLAtoms::src == aAttribute) {    nsHTMLFrameInnerFrame* firstChild = NS_STATIC_CAST(nsHTMLFrameInnerFrame*,                                        mFrames.FirstChild());    if (firstChild) {      firstChild->ReloadURL(aPresContext);    }  }  return NS_OK;}