Fix bug 364192 -- assert was backwards.

This commit is contained in:
bzbarsky%mit.edu 2006-12-18 05:08:01 +00:00
Родитель 135e8b7a2c
Коммит f50ba6a651
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -569,7 +569,7 @@ nsHTMLReflowState::GetNearestContainingBlock(nsIFrame* aFrame, nscoord& aCBLeftE
/* Didn't find a reflow state for aFrame. Just compute the information we
want, on the assumption that aFrame already knows its size. This really
ought to be true by now. */
NS_ASSERTION(aFrame->GetStateBits() & NS_FRAME_IN_REFLOW,
NS_ASSERTION(!(aFrame->GetStateBits() & NS_FRAME_IN_REFLOW),
"aFrame shouldn't be in reflow; we'll lie if it is");
nsMargin borderPadding = aFrame->GetUsedBorderAndPadding();
aCBLeftEdge = borderPadding.left;