diff --git a/mozilla/layout/generic/nsHTMLContainerFrame.cpp b/mozilla/layout/generic/nsHTMLContainerFrame.cpp index 38a9e394d68..c171c79dced 100644 --- a/mozilla/layout/generic/nsHTMLContainerFrame.cpp +++ b/mozilla/layout/generic/nsHTMLContainerFrame.cpp @@ -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) { diff --git a/mozilla/layout/generic/nsHTMLContainerFrame.h b/mozilla/layout/generic/nsHTMLContainerFrame.h index 1fe400249ae..812f6bf0d0b 100644 --- a/mozilla/layout/generic/nsHTMLContainerFrame.h +++ b/mozilla/layout/generic/nsHTMLContainerFrame.h @@ -51,11 +51,6 @@ public: nsIContent* aChild, PRInt32 aIndexInParent); - NS_IMETHOD ContentChanged(nsIPresShell* aShell, - nsIPresContext* aPresContext, - nsIContent* aChild, - nsISupports* aSubContent); - protected: virtual ~nsHTMLContainerFrame(); diff --git a/mozilla/layout/html/base/src/nsHTMLContainerFrame.cpp b/mozilla/layout/html/base/src/nsHTMLContainerFrame.cpp index 38a9e394d68..c171c79dced 100644 --- a/mozilla/layout/html/base/src/nsHTMLContainerFrame.cpp +++ b/mozilla/layout/html/base/src/nsHTMLContainerFrame.cpp @@ -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) { diff --git a/mozilla/layout/html/base/src/nsHTMLContainerFrame.h b/mozilla/layout/html/base/src/nsHTMLContainerFrame.h index 1fe400249ae..812f6bf0d0b 100644 --- a/mozilla/layout/html/base/src/nsHTMLContainerFrame.h +++ b/mozilla/layout/html/base/src/nsHTMLContainerFrame.h @@ -51,11 +51,6 @@ public: nsIContent* aChild, PRInt32 aIndexInParent); - NS_IMETHOD ContentChanged(nsIPresShell* aShell, - nsIPresContext* aPresContext, - nsIContent* aChild, - nsISupports* aSubContent); - protected: virtual ~nsHTMLContainerFrame();