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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user