зеркало из https://github.com/mozilla/pjs.git
Removed an assert that was incorrect and that triggered when print
previewing test1
This commit is contained in:
Родитель
a19e47c210
Коммит
81c2bd2649
|
@ -95,7 +95,6 @@ nsSimplePageSequenceFrame::Reflow(nsIPresContext& aPresContext,
|
|||
// Get the next child frame in the target chain
|
||||
nsIFrame* nextFrame;
|
||||
aReflowState.reflowCommand->GetNext(nextFrame);
|
||||
NS_ASSERTION(nextFrame == mFirstChild, "unexpected next reflow command frame");
|
||||
|
||||
// Compute the y-offset of this page
|
||||
for (nsIFrame* f = mFirstChild; f != nextFrame; f->GetNextSibling(f)) {
|
||||
|
|
|
@ -408,9 +408,6 @@ nsBodyFrame::Reflow(nsIPresContext& aPresContext,
|
|||
DeleteChildsNextInFlow(aPresContext, mFirstChild);
|
||||
}
|
||||
}
|
||||
else {
|
||||
printf("XXX: incomplete body frame\n");
|
||||
}
|
||||
|
||||
mSpaceManager->Translate(-borderPadding.left, -borderPadding.top);
|
||||
|
||||
|
|
|
@ -95,7 +95,6 @@ nsSimplePageSequenceFrame::Reflow(nsIPresContext& aPresContext,
|
|||
// Get the next child frame in the target chain
|
||||
nsIFrame* nextFrame;
|
||||
aReflowState.reflowCommand->GetNext(nextFrame);
|
||||
NS_ASSERTION(nextFrame == mFirstChild, "unexpected next reflow command frame");
|
||||
|
||||
// Compute the y-offset of this page
|
||||
for (nsIFrame* f = mFirstChild; f != nextFrame; f->GetNextSibling(f)) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче