Removed some old dead code

This commit is contained in:
troy%netscape.com 1999-12-01 04:10:47 +00:00
parent ce15b0c85d
commit a6363a7d20
4 changed files with 0 additions and 76 deletions

View File

@ -97,40 +97,6 @@ nsContainerFrame::Destroy(nsIPresContext* aPresContext)
return nsFrame::Destroy(aPresContext);
}
NS_IMETHODIMP
nsContainerFrame::DidReflow(nsIPresContext* aPresContext,
nsDidReflowStatus aStatus)
{
NS_FRAME_TRACE_MSG(NS_FRAME_TRACE_CALLS,
("enter nsContainerFrame::DidReflow: status=%d",
aStatus));
// Let nsFrame position and size our view (if we have one), and clear
// the NS_FRAME_IN_REFLOW bit
nsresult result = nsFrame::DidReflow(aPresContext, aStatus);
// XXX TROY
#if 0
if (NS_FRAME_REFLOW_FINISHED == aStatus) {
// Apply DidReflow to each and every list that this frame implements
nsIAtom* listName = nsnull;
PRInt32 listIndex = 0;
do {
nsIFrame* kid;
FirstChild(listName, &kid);
while (nsnull != kid) {
kid->DidReflow(aPresContext, aStatus);
kid->GetNextSibling(&kid);
}
NS_IF_RELEASE(listName);
GetAdditionalChildListName(listIndex++, &listName);
} while(nsnull != listName);
}
#endif
NS_FRAME_TRACE_OUT("nsContainerFrame::DidReflow");
return result;
}
/////////////////////////////////////////////////////////////////////////////
// Child frame enumeration

View File

@ -61,10 +61,6 @@ public:
NS_IMETHOD SizeOf(nsISizeOfHandler* aHandler, PRUint32* aResult) const;
#endif
// nsIHTMLReflow overrides
NS_IMETHOD DidReflow(nsIPresContext* aPresContext,
nsDidReflowStatus aStatus);
// nsContainerFrame methods
virtual void DeleteChildsNextInFlow(nsIPresContext* aPresContext,
nsIFrame* aChild);

View File

@ -97,40 +97,6 @@ nsContainerFrame::Destroy(nsIPresContext* aPresContext)
return nsFrame::Destroy(aPresContext);
}
NS_IMETHODIMP
nsContainerFrame::DidReflow(nsIPresContext* aPresContext,
nsDidReflowStatus aStatus)
{
NS_FRAME_TRACE_MSG(NS_FRAME_TRACE_CALLS,
("enter nsContainerFrame::DidReflow: status=%d",
aStatus));
// Let nsFrame position and size our view (if we have one), and clear
// the NS_FRAME_IN_REFLOW bit
nsresult result = nsFrame::DidReflow(aPresContext, aStatus);
// XXX TROY
#if 0
if (NS_FRAME_REFLOW_FINISHED == aStatus) {
// Apply DidReflow to each and every list that this frame implements
nsIAtom* listName = nsnull;
PRInt32 listIndex = 0;
do {
nsIFrame* kid;
FirstChild(listName, &kid);
while (nsnull != kid) {
kid->DidReflow(aPresContext, aStatus);
kid->GetNextSibling(&kid);
}
NS_IF_RELEASE(listName);
GetAdditionalChildListName(listIndex++, &listName);
} while(nsnull != listName);
}
#endif
NS_FRAME_TRACE_OUT("nsContainerFrame::DidReflow");
return result;
}
/////////////////////////////////////////////////////////////////////////////
// Child frame enumeration

View File

@ -61,10 +61,6 @@ public:
NS_IMETHOD SizeOf(nsISizeOfHandler* aHandler, PRUint32* aResult) const;
#endif
// nsIHTMLReflow overrides
NS_IMETHOD DidReflow(nsIPresContext* aPresContext,
nsDidReflowStatus aStatus);
// nsContainerFrame methods
virtual void DeleteChildsNextInFlow(nsIPresContext* aPresContext,
nsIFrame* aChild);