зеркало из https://github.com/mozilla/gecko-dev.git
Bug 487844. No need to mark self as NS_FRAME_IS_DIRTY just because our child list changed. r+sr=dbaron
This commit is contained in:
Родитель
f58f0f6c6d
Коммит
32f6fc76a7
|
@ -146,7 +146,8 @@ nsContainerFrame::AppendFrames(nsIAtom* aListName,
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
PresContext()->PresShell()->
|
PresContext()->PresShell()->
|
||||||
FrameNeedsReflow(this, nsIPresShell::eTreeChange, NS_FRAME_IS_DIRTY);
|
FrameNeedsReflow(this, nsIPresShell::eTreeChange,
|
||||||
|
NS_FRAME_HAS_DIRTY_CHILDREN);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
|
@ -178,7 +179,8 @@ nsContainerFrame::InsertFrames(nsIAtom* aListName,
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
PresContext()->PresShell()->
|
PresContext()->PresShell()->
|
||||||
FrameNeedsReflow(this, nsIPresShell::eTreeChange, NS_FRAME_IS_DIRTY);
|
FrameNeedsReflow(this, nsIPresShell::eTreeChange,
|
||||||
|
NS_FRAME_HAS_DIRTY_CHILDREN);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
|
@ -244,7 +246,8 @@ nsContainerFrame::RemoveFrame(nsIAtom* aListName,
|
||||||
|
|
||||||
if (generateReflowCommand) {
|
if (generateReflowCommand) {
|
||||||
PresContext()->PresShell()->
|
PresContext()->PresShell()->
|
||||||
FrameNeedsReflow(this, nsIPresShell::eTreeChange, NS_FRAME_IS_DIRTY);
|
FrameNeedsReflow(this, nsIPresShell::eTreeChange,
|
||||||
|
NS_FRAME_HAS_DIRTY_CHILDREN);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче