mShouldResize = PR_FALSE;
nsImageDocument::ToggleImageSize(){  if (mImageResizingEnabled) {    if (mImageIsResized) {      RestoreImage();    }    else if (mImageIsOverflowing) {      ShrinkToFit();    }  }  return NS_OK;}