if (mVis == nsViewVisibility_kShow)
if (mShowQuality == PR_FALSE)
NS_IMETHODIMP CornerView :: ShowQuality(PRBool aShow){  if (mShowQuality != aShow)  {    mShowQuality = aShow;    if (mShow == PR_FALSE)    {      if (mVis == nsViewVisibility_kShow)        mViewManager->SetViewVisibility(this, nsViewVisibility_kHide);      else        mViewManager->SetViewVisibility(this, nsViewVisibility_kShow);      nscoord dimx, dimy;      //this will force the scrolling view to recalc the scrollbar sizes... MMP      mParent->GetDimensions(&dimx, &dimy);      mParent->SetDimensions(dimx, dimy);    }    mViewManager->UpdateView(this, nsnull, NS_VMREFRESH_IMMEDIATE);  }  return NS_OK;}