mFrameElement = aFrameElement;
if (!mOuterWindow) { NS_ERROR("frameElement set on inner window with no outer!");  return; }  mOuterWindow->SetFrameElementInternal(aFrameElement);
  void SetFrameElementInternal(nsIDOMElement *aFrameElement)  {    if (IsInnerWindow()) {      mOuterWindow->SetFrameElementInternal(aFrameElement);    }    mFrameElement = aFrameElement;  }