mDidInitialReflow = PR_FALSE;
PresShell::PresShell():mAnonymousContentTable(nsnull),                       mStackArena(nsnull),                       mFirstDOMEventRequest(nsnull),                       mLastDOMEventRequest(nsnull),                       mFirstAttributeRequest(nsnull),                       mLastAttributeRequest(nsnull),                       mFirstCallbackEventRequest(nsnull),                       mLastCallbackEventRequest(nsnull),                       mPaintingSuppressed(PR_FALSE),                       mShouldUnsuppressPainting(PR_FALSE){  NS_INIT_REFCNT();  mIsDocumentGone = PR_FALSE;  mIsDestroying = PR_FALSE;  mCaretEnabled = PR_FALSE;  mDisplayNonTextSelection = PR_FALSE;  mCurrentEventContent = nsnull;  mCurrentEventFrame = nsnull;  EnableScrolling();#ifdef NS_DEBUG  mCurrentTargetView = nsnull;#endif  mPendingReflowEvent = PR_FALSE;      mBatchReflows = PR_FALSE;  mDocumentLoading = PR_FALSE;  mSubShellMap = nsnull;  mRCCreatedDuringLoad = 0;  mDummyLayoutRequest = nsnull;  mPrefStyleSheet = nsnull;  mEnablePrefStyleSheet = PR_TRUE;#ifdef MOZ_REFLOW_PERF  mReflowCountMgr = new ReflowCountMgr();  mReflowCountMgr->SetPresContext(mPresContext);  mReflowCountMgr->SetPresShell(this);#endif#ifdef IBMBIDI  mBidiLevel = BIDI_LEVEL_UNDEFINED;#endif#ifdef PR_LOGGING  if (! gLog)    gLog = PR_NewLogModule("PresShell");#endif}