nsDocument::nsDocument() { NS_INIT_REFCNT();  mArena = nsnull; mDocumentTitle = nsnull; mDocumentURL = nsnull; mCharacterSet.AssignWithConversion("ISO-8859-1"); mParentDocument = nsnull; mRootContent = nsnull; mScriptObject = nsnull; mListenerManager = nsnull; mDisplaySelection = PR_FALSE; mInDestructor = PR_FALSE; mDOMStyleSheets = nsnull; mNameSpaceManager = nsnull; mHeaderData = nsnull; mLineBreaker = nsnull; mProlog = nsnull; mEpilog = nsnull; mChildNodes = nsnull; mWordBreaker = nsnull; mModCount = 0; mFileSpec = nsnull; mPrincipal = nsnull; mNextContentID = NS_CONTENT_ID_COUNTER_BASE; Init(); }
nsDocument() : nsIDocument() {}
nsDocument::nsDocument(){  NS_INIT_REFCNT();  mArena = nsnull;  mDocumentTitle = nsnull;  mDocumentURL = nsnull;  mCharacterSet.AssignWithConversion("ISO-8859-1");  mParentDocument = nsnull;  mRootContent = nsnull;  mScriptObject = nsnull;  mListenerManager = nsnull;  mDisplaySelection = PR_FALSE;  mInDestructor = PR_FALSE;  mDOMStyleSheets = nsnull;  mNameSpaceManager = nsnull;  mHeaderData = nsnull;  mLineBreaker = nsnull;  mProlog = nsnull;  mEpilog = nsnull;  mChildNodes = nsnull;  mWordBreaker = nsnull;  mModCount = 0;  mFileSpec = nsnull;  mPrincipal = nsnull;  mNextContentID = NS_CONTENT_ID_COUNTER_BASE;  Init();/* XXX */}