Moved ContentChanged() logic to nsFrame since it was completely generic and

serves as reasonable default behavior for all frames


git-svn-id: svn://10.0.0.236/trunk@1304 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy
1998-05-08 16:34:27 +00:00
parent f8e3f6b0a7
commit a447ffcc90
4 changed files with 0 additions and 36 deletions

View File

@@ -192,19 +192,6 @@ NS_METHOD nsHTMLContainerFrame::ContentAppended(nsIPresShell* aShell,
return NS_OK;
}
NS_METHOD nsHTMLContainerFrame::ContentChanged(nsIPresShell* aShell,
nsIPresContext* aPresContext,
nsIContent* aContainer,
nsISupports* aSubContent)
{
// Generate a reflow command with our geometric parent as the target,
// and us as the child frame
nsReflowCommand* cmd = new nsReflowCommand(aPresContext, mGeometricParent,
nsReflowCommand::FrameAppended, this);
aShell->AppendReflowCommand(cmd);
return NS_OK;
}
static PRBool
HasSameMapping(nsIFrame* aFrame, nsIContent* aContent)
{