зеркало из https://github.com/mozilla/gecko-dev.git
Remove redundant |if| around assertion (bug 416645). r+sr=roc, a=schrep
This commit is contained in:
Родитель
f4a6450e94
Коммит
a81a271ade
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче