Bug 320337. Remove mFrameConstructor member from nsListBoxBodyFrame. patch by Vidar Harr, r+sr=roc

This commit is contained in:
roc+@cs.cmu.edu
2005-12-16 02:56:36 +00:00
parent 2327eed082
commit 4e6981a95c
6 changed files with 18 additions and 24 deletions

View File

@@ -6255,9 +6255,7 @@ nsCSSFrameConstructor::ConstructXULFrame(nsFrameConstructorState& aState,
if (aTag == nsXULAtoms::listboxbody) {
NS_NewListBoxLayout(mPresShell, layout);
newFrame = NS_NewListBoxBodyFrame(mPresShell, PR_FALSE, layout);
((nsListBoxBodyFrame*)newFrame)->InitGroup(this);
}
else
{
@@ -9749,8 +9747,7 @@ DeletingFrameSubtree(nsPresContext* aPresContext,
}
nsresult
nsCSSFrameConstructor::RemoveMappingsForFrameSubtree(nsIFrame* aRemovedFrame,
nsILayoutHistoryState* aFrameState)
nsCSSFrameConstructor::RemoveMappingsForFrameSubtree(nsIFrame* aRemovedFrame)
{
// Save the frame tree's state before deleting it
CaptureStateFor(aRemovedFrame, mTempFrameTreeState);