Fixed UMR bug that purify found (14171)

This commit is contained in:
kipp%netscape.com 1999-09-20 03:46:09 +00:00
Родитель 9aca73451f
Коммит 519b9a7849
2 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -291,7 +291,8 @@ nsFrameConstructorState::nsFrameConstructorState(nsIPresContext* aPresContext,
: mFixedItems(aFixedContainingBlock),
mAbsoluteItems(aAbsoluteContainingBlock),
mFloatedItems(aFloaterContainingBlock),
mFirstLetterStyle(PR_FALSE)
mFirstLetterStyle(PR_FALSE),
mFirstLineStyle(PR_FALSE)
{
aPresContext->GetShell(getter_AddRefs(mPresShell));
mPresShell->GetFrameManager(getter_AddRefs(mFrameManager));
@ -314,6 +315,7 @@ nsFrameConstructorState::PushFloaterContainingBlock(nsIFrame* aNewFloaterContain
{
aSaveState.mItems = &mFloatedItems;
aSaveState.mFirstLetterStyle = &mFirstLetterStyle;
aSaveState.mFirstLineStyle = &mFirstLineStyle;
aSaveState.mSavedItems = mFloatedItems;
aSaveState.mSavedFirstLetterStyle = mFirstLetterStyle;
aSaveState.mSavedFirstLineStyle = mFirstLineStyle;

Просмотреть файл

@ -291,7 +291,8 @@ nsFrameConstructorState::nsFrameConstructorState(nsIPresContext* aPresContext,
: mFixedItems(aFixedContainingBlock),
mAbsoluteItems(aAbsoluteContainingBlock),
mFloatedItems(aFloaterContainingBlock),
mFirstLetterStyle(PR_FALSE)
mFirstLetterStyle(PR_FALSE),
mFirstLineStyle(PR_FALSE)
{
aPresContext->GetShell(getter_AddRefs(mPresShell));
mPresShell->GetFrameManager(getter_AddRefs(mFrameManager));
@ -314,6 +315,7 @@ nsFrameConstructorState::PushFloaterContainingBlock(nsIFrame* aNewFloaterContain
{
aSaveState.mItems = &mFloatedItems;
aSaveState.mFirstLetterStyle = &mFirstLetterStyle;
aSaveState.mFirstLineStyle = &mFirstLineStyle;
aSaveState.mSavedItems = mFloatedItems;
aSaveState.mSavedFirstLetterStyle = mFirstLetterStyle;
aSaveState.mSavedFirstLineStyle = mFirstLineStyle;