зеркало из https://github.com/mozilla/gecko-dev.git
Fixed UMR bug that purify found (14171)
This commit is contained in:
Родитель
9aca73451f
Коммит
519b9a7849
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче