mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 477915 - Remove frame->AddStateBits from ReLayoutChildren. r=fredw
This commit is contained in:
parent
026d0c5f26
commit
d26bea7717
@ -694,13 +694,6 @@ nsMathMLContainerFrame::ReLayoutChildren(nsIFrame* aParentFrame)
|
||||
content->Tag() == nsGkAtoms::math)
|
||||
break;
|
||||
|
||||
// mark the frame dirty, and continue to climb up. It's important that
|
||||
// we're NOT doing this to the frame we plan to pass to FrameNeedsReflow()
|
||||
// XXXldb Why do we need to bother with this? Marking ancestor
|
||||
// dirty (which we do below) should do a superset of the work this
|
||||
// does.
|
||||
frame->AddStateBits(NS_FRAME_IS_DIRTY | NS_FRAME_HAS_DIRTY_CHILDREN);
|
||||
|
||||
frame = parent;
|
||||
}
|
||||
|
||||
@ -737,13 +730,6 @@ nsMathMLContainerFrame::ChildListChanged(int32_t aModType)
|
||||
GetEmbellishDataFrom(parent, embellishData);
|
||||
if (embellishData.coreFrame != mEmbellishData.coreFrame)
|
||||
break;
|
||||
|
||||
// Important: do not do this to the frame we plan to pass to
|
||||
// ReLayoutChildren
|
||||
// XXXldb Why do we need to bother with this? Marking ancestor
|
||||
// dirty (which we do below) should do a superset of the work this
|
||||
// does.
|
||||
frame->AddStateBits(NS_FRAME_IS_DIRTY | NS_FRAME_HAS_DIRTY_CHILDREN);
|
||||
}
|
||||
}
|
||||
return ReLayoutChildren(frame);
|
||||
|
Loading…
Reference in New Issue
Block a user