mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 21:58:06 +00:00
Fixed uninitialized variables
This commit is contained in:
parent
339d201a49
commit
70c80e647e
@ -179,7 +179,8 @@ nsHTMLDocument::nsHTMLDocument()
|
||||
mBaseURL(nsnull),
|
||||
mBaseTarget(nsnull),
|
||||
mLastModified(nsnull),
|
||||
mReferrer(nsnull)
|
||||
mReferrer(nsnull),
|
||||
mIsWriting(0)
|
||||
{
|
||||
mImages = nsnull;
|
||||
mApplets = nsnull;
|
||||
|
@ -330,7 +330,8 @@ nsFrameConstructorState::PushFloaterContainingBlock(nsIFrame* aNewFloaterContain
|
||||
}
|
||||
|
||||
nsFrameConstructorSaveState::nsFrameConstructorSaveState()
|
||||
: mItems(nsnull), mFirstLetterStyle(nsnull), mFirstLineStyle(nsnull)
|
||||
: mItems(nsnull), mFirstLetterStyle(nsnull), mFirstLineStyle(nsnull),
|
||||
mSavedFirstLetterStyle(PR_FALSE), mSavedFirstLineStyle(PR_FALSE)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -179,7 +179,8 @@ nsHTMLDocument::nsHTMLDocument()
|
||||
mBaseURL(nsnull),
|
||||
mBaseTarget(nsnull),
|
||||
mLastModified(nsnull),
|
||||
mReferrer(nsnull)
|
||||
mReferrer(nsnull),
|
||||
mIsWriting(0)
|
||||
{
|
||||
mImages = nsnull;
|
||||
mApplets = nsnull;
|
||||
|
@ -330,7 +330,8 @@ nsFrameConstructorState::PushFloaterContainingBlock(nsIFrame* aNewFloaterContain
|
||||
}
|
||||
|
||||
nsFrameConstructorSaveState::nsFrameConstructorSaveState()
|
||||
: mItems(nsnull), mFirstLetterStyle(nsnull), mFirstLineStyle(nsnull)
|
||||
: mItems(nsnull), mFirstLetterStyle(nsnull), mFirstLineStyle(nsnull),
|
||||
mSavedFirstLetterStyle(PR_FALSE), mSavedFirstLineStyle(PR_FALSE)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user