mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 618830 initial assignment to kidNextInFlow is useless in nsTableFrame::ReflowChildren
r=bz
This commit is contained in:
parent
ee5ce199c4
commit
715ad2db40
@ -2780,7 +2780,6 @@ nsTableFrame::ReflowChildren(nsTableReflowState& aReflowState,
|
||||
}
|
||||
// record the presence of a next in flow, it might get destroyed so we
|
||||
// need to reorder the row group array
|
||||
nsIFrame* kidNextInFlow = kidFrame->GetNextInFlow();
|
||||
PRBool reorder = PR_FALSE;
|
||||
if (kidFrame->GetNextInFlow())
|
||||
reorder = PR_TRUE;
|
||||
@ -2853,7 +2852,7 @@ nsTableFrame::ReflowChildren(nsTableReflowState& aReflowState,
|
||||
|
||||
// Special handling for incomplete children
|
||||
if (NS_FRAME_IS_NOT_COMPLETE(aStatus)) {
|
||||
kidNextInFlow = kidFrame->GetNextInFlow();
|
||||
nsIFrame* kidNextInFlow = kidFrame->GetNextInFlow();
|
||||
if (!kidNextInFlow) {
|
||||
// The child doesn't have a next-in-flow so create a continuing
|
||||
// frame. This hooks the child into the flow
|
||||
|
Loading…
Reference in New Issue
Block a user