if (!mDocument || !mParent) {
if (!mDocument) {
  nsIFormControlFrame *GetFormControlFrame(PRBool aFlushContent)  {    if (!mDocument || !mParent) {      return nsnull;    }    return GetFormControlFrameFor(this, mDocument, aFlushContent);  }