virtual ~nsPagePrintTimer() { if (mTimer) { mTimer->Cancel(); } DocumentViewerImpl::mIsDoingPrinting = PR_FALSE; mDocViewer->Destroy(); NS_RELEASE(mDocViewer);
nsPagePrintTimer::~nsPagePrintTimer() { if (mTimer) { mTimer->Cancel();
  virtual ~nsPagePrintTimer()  {    if (mTimer) {      mTimer->Cancel();    }    DocumentViewerImpl::mIsDoingPrinting = PR_FALSE;    mDocViewer->Destroy();    NS_RELEASE(mDocViewer);  }