colframes are referenced via the firstinflow bug 362348 r/sr=roc

This commit is contained in:
bmlk%gmx.de 2006-12-02 06:52:55 +00:00
Родитель d6016cf254
Коммит 5bbcbbdb17
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -1529,7 +1529,7 @@ nsTableRowFrame::CollapseRowIfNecessary(nscoord aRowOffset,
{
const nsStyleVisibility* rowVis = GetStyleVisibility();
PRBool collapseRow = (NS_STYLE_VISIBILITY_COLLAPSE == rowVis->mVisible);
nsTableFrame* tableFrame = nsTableFrame::GetTableFrame(this);
nsTableFrame* tableFrame = NS_STATIC_CAST(nsTableFrame*, nsTableFrame::GetTableFrame(this)->GetFirstInFlow());
if (!tableFrame)
return 0;
if (collapseRow) {