Make NOISY_VERTICAL_ALIGN compile again. Not part of the build. No review.

This commit is contained in:
L. David Baron 2011-10-18 10:44:43 -07:00
Родитель e879c0f308
Коммит d65b4d17bd
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -1815,7 +1815,7 @@ nsLineLayout::VerticalAlignFrames(PerSpanData* psd)
printf(" [frame]");
nsFrame::ListTag(stdout, frame);
printf(": verticalAlignUnit=%d (enum == %d)\n",
verticalAlignUnit,
verticalAlign.GetUnit(),
((eStyleUnit_Enumerated == verticalAlign.GetUnit())
? verticalAlign.GetIntValue()
: -1));
@ -2087,7 +2087,7 @@ nsLineLayout::VerticalAlignFrames(PerSpanData* psd)
printf(" new values: %d,%d\n", minY, maxY);
#endif
#ifdef NOISY_VERTICAL_ALIGN
printf(" Used mMinLineHeight: %d, fontHeight: %d, fontAscent: %d\n", mMinLineHeight, fontHeight, fontAscent);
printf(" Used mMinLineHeight: %d, yTop: %d, yBottom: %d\n", mMinLineHeight, yTop, yBottom);
#endif
}
else {