зеркало из https://github.com/mozilla/gecko-dev.git
Fixed uninitialized variables
This commit is contained in:
Родитель
339d201a49
Коммит
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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче