Bug 370353 followup: Check in white space changes. Patch by Daniel Holbert <dholbert@mozilla.com>. r=bernd sr=dbaron a1.9=dbaron.

This commit is contained in:
cbarrett%mozilla.com 2007-08-17 23:58:19 +00:00
Родитель cdcf6f38b4
Коммит 564d13cb0e
1 изменённых файлов: 7 добавлений и 7 удалений

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

@ -3063,14 +3063,14 @@ nsTableFrame::ReflowColGroups(nsIRenderingContext *aRenderingContext)
for (nsIFrame* kidFrame = mColGroups.FirstChild(); kidFrame; for (nsIFrame* kidFrame = mColGroups.FirstChild(); kidFrame;
kidFrame = kidFrame->GetNextSibling()) { kidFrame = kidFrame->GetNextSibling()) {
if (NS_SUBTREE_DIRTY(kidFrame)) { if (NS_SUBTREE_DIRTY(kidFrame)) {
// The column groups don't care about dimensions or reflow states. // The column groups don't care about dimensions or reflow states.
nsHTMLReflowState kidReflowState(presContext, kidFrame, nsHTMLReflowState kidReflowState(presContext, kidFrame,
aRenderingContext, nsSize(0,0)); aRenderingContext, nsSize(0,0));
nsReflowStatus cgStatus; nsReflowStatus cgStatus;
ReflowChild(kidFrame, presContext, kidMet, kidReflowState, 0, 0, 0, ReflowChild(kidFrame, presContext, kidMet, kidReflowState, 0, 0, 0,
cgStatus); cgStatus);
FinishReflowChild(kidFrame, presContext, nsnull, kidMet, 0, 0, 0); FinishReflowChild(kidFrame, presContext, nsnull, kidMet, 0, 0, 0);
} }
} }
SetHaveReflowedColGroups(PR_TRUE); SetHaveReflowedColGroups(PR_TRUE);
} }