Remove redundant |if| around assertion (bug 416645). r+sr=roc, a=schrep

This commit is contained in:
jruderman@hmc.edu 2008-02-11 09:13:34 -08:00
Родитель f4a6450e94
Коммит a81a271ade
1 изменённых файлов: 2 добавлений и 4 удалений

Просмотреть файл

@ -4440,10 +4440,8 @@ nsBlockFrame::DrainOverflowLines(nsBlockReflowState& aState)
nsIFrame* next;
for (nsPlaceholderFrame* f = static_cast<nsPlaceholderFrame*>(line->mFirstChild);
n > 0; --n, f = static_cast<nsPlaceholderFrame*>(next)) {
if (!IsContinuationPlaceholder(f)) {
NS_ASSERTION(IsContinuationPlaceholder(f),
"Line frames should all be continuation placeholders");
}
NS_ASSERTION(IsContinuationPlaceholder(f),
"Line frames should all be continuation placeholders");
next = f->GetNextSibling();
nsIFrame* fpif = f->GetPrevInFlow();
nsIFrame* oof = f->GetOutOfFlowFrame();