зеркало из https://github.com/mozilla/gecko-dev.git
Remove test assertion that I added two days ago. DEBUG-only, r=me
This commit is contained in:
Родитель
fb69aef674
Коммит
d89cd5a885
|
@ -2144,8 +2144,6 @@ nsLineLayout::VerticalAlignFrames(PerSpanData* psd)
|
||||||
spanFrame->GetPrevInFlow(&spanPrevInFlow);
|
spanFrame->GetPrevInFlow(&spanPrevInFlow);
|
||||||
PRBool emptyContinuation = spanPrevInFlow && !spanNextInFlow &&
|
PRBool emptyContinuation = spanPrevInFlow && !spanNextInFlow &&
|
||||||
(0 == spanFramePFD->mBounds.width) && (0 == spanFramePFD->mBounds.height);
|
(0 == spanFramePFD->mBounds.width) && (0 == spanFramePFD->mBounds.height);
|
||||||
NS_ASSERTION(!emptyContinuation,
|
|
||||||
"we shouldn't have empty continuations anymore");
|
|
||||||
|
|
||||||
#ifdef NOISY_VERTICAL_ALIGN
|
#ifdef NOISY_VERTICAL_ALIGN
|
||||||
printf("[%sSpan]", (psd == mRootSpan)?"Root":"");
|
printf("[%sSpan]", (psd == mRootSpan)?"Root":"");
|
||||||
|
|
|
@ -2144,8 +2144,6 @@ nsLineLayout::VerticalAlignFrames(PerSpanData* psd)
|
||||||
spanFrame->GetPrevInFlow(&spanPrevInFlow);
|
spanFrame->GetPrevInFlow(&spanPrevInFlow);
|
||||||
PRBool emptyContinuation = spanPrevInFlow && !spanNextInFlow &&
|
PRBool emptyContinuation = spanPrevInFlow && !spanNextInFlow &&
|
||||||
(0 == spanFramePFD->mBounds.width) && (0 == spanFramePFD->mBounds.height);
|
(0 == spanFramePFD->mBounds.width) && (0 == spanFramePFD->mBounds.height);
|
||||||
NS_ASSERTION(!emptyContinuation,
|
|
||||||
"we shouldn't have empty continuations anymore");
|
|
||||||
|
|
||||||
#ifdef NOISY_VERTICAL_ALIGN
|
#ifdef NOISY_VERTICAL_ALIGN
|
||||||
printf("[%sSpan]", (psd == mRootSpan)?"Root":"");
|
printf("[%sSpan]", (psd == mRootSpan)?"Root":"");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче