diff --git a/mozilla/layout/generic/nsPlaceholderFrame.cpp b/mozilla/layout/generic/nsPlaceholderFrame.cpp index ad3426ad1ae..03e940a0a24 100644 --- a/mozilla/layout/generic/nsPlaceholderFrame.cpp +++ b/mozilla/layout/generic/nsPlaceholderFrame.cpp @@ -78,33 +78,6 @@ nsPlaceholderFrame::Paint(nsIPresContext& aPresContext, return NS_OK; } -NS_IMETHODIMP -nsPlaceholderFrame::ContentChanged(nsIPresContext* aPresContext, - nsIContent* aChild, - nsISupports* aSubContent) -{ - NS_ASSERTION(mContent == aChild, "bad content-changed target"); - - // Forward the notification to the out of flow frame - if (nsnull != mOutOfFlowFrame) { - return mOutOfFlowFrame->ContentChanged(aPresContext, aChild, aSubContent); - } - return NS_OK; -} - -NS_IMETHODIMP -nsPlaceholderFrame::AttributeChanged(nsIPresContext* aPresContext, - nsIContent* aChild, - nsIAtom* aAttribute, - PRInt32 aHint) -{ - // Forward the notification to the out of flow frame - if (nsnull != mOutOfFlowFrame) { - return mOutOfFlowFrame->AttributeChanged(aPresContext, aChild, aAttribute, aHint); - } - return NS_OK; -} - NS_IMETHODIMP nsPlaceholderFrame::GetFrameType(nsIAtom** aType) const { diff --git a/mozilla/layout/generic/nsPlaceholderFrame.h b/mozilla/layout/generic/nsPlaceholderFrame.h index f1b1cdab421..07d45630c51 100644 --- a/mozilla/layout/generic/nsPlaceholderFrame.h +++ b/mozilla/layout/generic/nsPlaceholderFrame.h @@ -47,15 +47,6 @@ public: const nsRect& aDirtyRect, nsFramePaintLayer aWhichLayer); - NS_IMETHOD ContentChanged(nsIPresContext* aPresContext, - nsIContent* aChild, - nsISupports* aSubContent); - - NS_IMETHOD AttributeChanged(nsIPresContext* aPresContext, - nsIContent* aChild, - nsIAtom* aAttribute, - PRInt32 aHint); - /** * Get the "type" of the frame * diff --git a/mozilla/layout/html/base/src/nsPlaceholderFrame.cpp b/mozilla/layout/html/base/src/nsPlaceholderFrame.cpp index ad3426ad1ae..03e940a0a24 100644 --- a/mozilla/layout/html/base/src/nsPlaceholderFrame.cpp +++ b/mozilla/layout/html/base/src/nsPlaceholderFrame.cpp @@ -78,33 +78,6 @@ nsPlaceholderFrame::Paint(nsIPresContext& aPresContext, return NS_OK; } -NS_IMETHODIMP -nsPlaceholderFrame::ContentChanged(nsIPresContext* aPresContext, - nsIContent* aChild, - nsISupports* aSubContent) -{ - NS_ASSERTION(mContent == aChild, "bad content-changed target"); - - // Forward the notification to the out of flow frame - if (nsnull != mOutOfFlowFrame) { - return mOutOfFlowFrame->ContentChanged(aPresContext, aChild, aSubContent); - } - return NS_OK; -} - -NS_IMETHODIMP -nsPlaceholderFrame::AttributeChanged(nsIPresContext* aPresContext, - nsIContent* aChild, - nsIAtom* aAttribute, - PRInt32 aHint) -{ - // Forward the notification to the out of flow frame - if (nsnull != mOutOfFlowFrame) { - return mOutOfFlowFrame->AttributeChanged(aPresContext, aChild, aAttribute, aHint); - } - return NS_OK; -} - NS_IMETHODIMP nsPlaceholderFrame::GetFrameType(nsIAtom** aType) const { diff --git a/mozilla/layout/html/base/src/nsPlaceholderFrame.h b/mozilla/layout/html/base/src/nsPlaceholderFrame.h index f1b1cdab421..07d45630c51 100644 --- a/mozilla/layout/html/base/src/nsPlaceholderFrame.h +++ b/mozilla/layout/html/base/src/nsPlaceholderFrame.h @@ -47,15 +47,6 @@ public: const nsRect& aDirtyRect, nsFramePaintLayer aWhichLayer); - NS_IMETHOD ContentChanged(nsIPresContext* aPresContext, - nsIContent* aChild, - nsISupports* aSubContent); - - NS_IMETHOD AttributeChanged(nsIPresContext* aPresContext, - nsIContent* aChild, - nsIAtom* aAttribute, - PRInt32 aHint); - /** * Get the "type" of the frame *