mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Added ASSERT for the case where we get passed a reflow reason of initial
when we've already been reflowed once
This commit is contained in:
parent
609fc7250e
commit
51a8b8dc9a
@ -401,6 +401,8 @@ NS_METHOD nsTableOuterFrame::Reflow(nsIPresContext& aPresContext,
|
||||
|
||||
} else {
|
||||
if (eReflowReason_Initial == aReflowState.reason) {
|
||||
NS_ASSERTION(nsnull == mFirstChild, "unexpected reflow reason");
|
||||
|
||||
// Set up our kids. They're already present, on an overflow list,
|
||||
// or there are none so we'll create them now
|
||||
MoveOverflowToChildList();
|
||||
|
@ -401,6 +401,8 @@ NS_METHOD nsTableOuterFrame::Reflow(nsIPresContext& aPresContext,
|
||||
|
||||
} else {
|
||||
if (eReflowReason_Initial == aReflowState.reason) {
|
||||
NS_ASSERTION(nsnull == mFirstChild, "unexpected reflow reason");
|
||||
|
||||
// Set up our kids. They're already present, on an overflow list,
|
||||
// or there are none so we'll create them now
|
||||
MoveOverflowToChildList();
|
||||
|
Loading…
Reference in New Issue
Block a user