mDeferredWindowClose = PR_FALSE;
void DocumentViewerImpl::PrepareToStartLoad(){  mEnableRendering  = PR_TRUE;  mStopped          = PR_FALSE;  mLoaded           = PR_FALSE;#ifdef NS_PRINTING  mPrintIsPending        = PR_FALSE;  mPrintDocIsFullyLoaded = PR_FALSE;  mClosingWhilePrinting  = PR_FALSE;  // Make sure we have destroyed it and cleared the data member  if (mPrintEngine) {    mPrintEngine->Destroy();    NS_RELEASE(mPrintEngine);  }#ifdef NS_PRINT_PREVIEW  SetIsPrintPreview(PR_FALSE);#endif#ifdef NS_DEBUG  mDebugFile = nsnull;#endif#endif // NS_PRINTING}