bug 4143; bug 2467; removed frame caching in nsFormFrame.

This commit is contained in:
karnaze@netscape.com
1999-04-27 00:06:03 +00:00
parent a120b8c5b3
commit 2b85bec67e
10 changed files with 137 additions and 247 deletions
+4 -2
View File
@@ -106,12 +106,14 @@ nsListControlFrame::nsListControlFrame()
mNumSelections = 0;
mInDropDownMode = PR_FALSE;
mComboboxFrame = nsnull;
mFormFrame = nsnull;
}
//----------------------------------------------------------------------
nsListControlFrame::~nsListControlFrame()
{
NS_IF_RELEASE(mComboboxFrame);
mFormFrame = nsnull;
}
//----------------------------------------------------------------------
@@ -826,8 +828,8 @@ NS_IMETHODIMP nsListControlFrame::HandleEvent(nsIPresContext& aPresContext,
//----------------------------------------------------------------------
NS_IMETHODIMP
nsListControlFrame::SetInitialChildList(nsIPresContext& aPresContext,
nsIAtom* aListName,
nsIFrame* aChildList)
nsIAtom* aListName,
nsIFrame* aChildList)
{
mContentFrame = aChildList;