if (mFormFrame) { mFormFrame->RemoveFormControlFrame(*this); mFormFrame = nsnull; }
nsImageControlFrame::Destroy(nsIPresContext *aPresContext){  nsFormControlFrame::RegUnRegAccessKey(aPresContext, NS_STATIC_CAST(nsIFrame*, this), PR_FALSE);  if (mFormFrame) {    mFormFrame->RemoveFormControlFrame(*this);    mFormFrame = nsnull;  }  return nsImageControlFrameSuper::Destroy(aPresContext);}