frame->QueryInterface(NS_GET_IID(nsISVGFrame),(void**)&svgframe);
CallQueryInterface(frame, &svgframe);
nsSVGSVGElement::UnsuspendRedrawAll(){  mRedrawSuspendCount = 0;    if (!mDocument) return NS_ERROR_FAILURE;  nsCOMPtr<nsIPresShell> presShell;  mDocument->GetShellAt(0, getter_AddRefs(presShell));  NS_ASSERTION(presShell, "need presShell to unsuspend redraw");  if (!presShell) return NS_ERROR_FAILURE;  nsIFrame* frame;  presShell->GetPrimaryFrameFor(NS_STATIC_CAST(nsIStyledContent*, this), &frame);#ifdef DEBUG//  NS_ASSERTION(frame, "unsuspending redraw w/o frame");  printf("unsuspending redraw w/o frame\n");#endif  if (frame) {    nsISVGFrame* svgframe;    frame->QueryInterface(NS_GET_IID(nsISVGFrame),(void**)&svgframe);    NS_ASSERTION(svgframe, "wrong frame type");    if (svgframe) {      svgframe->NotifyRedrawUnsuspended();    }  }    return NS_OK;}