From 41b50569b4a921f88f181213d5ac19be5cfb3f6b Mon Sep 17 00:00:00 2001 From: "Olli.Pettay@helsinki.fi" Date: Thu, 22 Mar 2007 17:01:36 -0700 Subject: [PATCH] Bug 369168, r+sr=roc --- layout/generic/nsFrameSetFrame.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layout/generic/nsFrameSetFrame.cpp b/layout/generic/nsFrameSetFrame.cpp index 01ce6f7fb24f..cd9a81cc38f2 100644 --- a/layout/generic/nsFrameSetFrame.cpp +++ b/layout/generic/nsFrameSetFrame.cpp @@ -1378,6 +1378,7 @@ nsHTMLFramesetFrame::RecalculateBorderResize() // number of any type of children PRUint32 numChildren = mContent->GetChildCount(); for (childIndex = 0; childIndex < numChildren; childIndex++) { + childTypes[childIndex] = BLANK; nsIContent *child = mContent->GetChildAt(childIndex); if (child->IsNodeOfType(nsINode::eHTML)) { @@ -1394,6 +1395,9 @@ nsHTMLFramesetFrame::RecalculateBorderResize() } } } + for (; childIndex < numCells; ++childIndex) { + childTypes[childIndex] = BLANK; + } // set the visibility and mouse sensitivity of borders PRInt32 verX;