nsWebShell::nsWebShell()
nsWebShell::nsWebShell() : nsDocShell()
nsWebShell::nsWebShell(){#ifdef DETECT_WEBSHELL_LEAKS  // We're counting the number of |nsWebShells| to help find leaks  ++gNumberOfWebShells;#endif#ifdef NOISY_WEBSHELL_LEAKS  printf("WEBSHELL+ = %d\n", gNumberOfWebShells);#endif  NS_INIT_REFCNT();  mHistoryIndex = -1;  mScrollPref = nsScrollPreference_kAuto;  mScriptGlobal = nsnull;  mScriptContext = nsnull;  mThreadEventQueue = nsnull;  InitFrameData(PR_TRUE);  mIsFrame = PR_FALSE;  mWebShellType = nsWebShellContent;  mChromeElement = nsnull;  mSHist = nsnull;  mIsInSHist = PR_FALSE;  mFailedToLoadHistoryService = PR_FALSE;  mDefaultCharacterSet = "";  mProcessedEndDocumentLoad = PR_FALSE;  mHintCharset = "";  mHintCharsetSource = kCharsetUninitialized;  mCharsetReloadState = eCharsetReloadInit;  mViewSource=PR_FALSE;  mForceCharacterSet = "";  mHistoryService = nsnull;  mHistoryState = nsnull;}