if (!mRenderer) return NS_OK;
nsSVGOuterSVGFrame::SuspendRedraw(){#ifdef DEBUG  //printf("suspend redraw (count=%d)\n", mRedrawSuspendCount);#endif  if (++mRedrawSuspendCount != 1)    return NS_OK; // get the view manager, so that we can wrap this up in a batch  // update.  nsIViewManager* vm = GetPresContext()->GetViewManager();  vm->BeginUpdateViewBatch();   for (nsIFrame* kid = mFrames.FirstChild(); kid;       kid = kid->GetNextSibling()) {    nsISVGChildFrame* SVGFrame=nsnull;    kid->QueryInterface(NS_GET_IID(nsISVGChildFrame),(void**)&SVGFrame);    if (SVGFrame) {      SVGFrame->NotifyRedrawSuspended();    }  }  return NS_OK;}