diff --git a/mozilla/layout/generic/nsHTMLFrame.cpp b/mozilla/layout/generic/nsHTMLFrame.cpp index f45304e1f04..e4257826e24 100644 --- a/mozilla/layout/generic/nsHTMLFrame.cpp +++ b/mozilla/layout/generic/nsHTMLFrame.cpp @@ -57,9 +57,6 @@ static NS_DEFINE_IID(kIFrameIID, NS_IFRAME_IID); */ class RootFrame : public nsHTMLContainerFrame { public: - NS_IMETHOD SetInitialChildList(nsIPresContext& aPresContext, - nsIAtom* aListName, - nsIFrame* aChildList); NS_IMETHOD Reflow(nsIPresContext& aPresContext, nsHTMLReflowMetrics& aDesiredSize, const nsHTMLReflowState& aReflowState, @@ -104,15 +101,6 @@ NS_NewRootFrame(nsIFrame*& aResult) return NS_OK; } -NS_IMETHODIMP -RootFrame::SetInitialChildList(nsIPresContext& aPresContext, - nsIAtom* aListName, - nsIFrame* aChildList) -{ - mFrames.SetFrames(aChildList); - return NS_OK; -} - // XXX Temporary hack until we support the CSS2 'min-width', 'max-width', // 'min-height', and 'max-height' properties. Then we can do this in a top-down // fashion diff --git a/mozilla/layout/html/base/src/nsHTMLFrame.cpp b/mozilla/layout/html/base/src/nsHTMLFrame.cpp index f45304e1f04..e4257826e24 100644 --- a/mozilla/layout/html/base/src/nsHTMLFrame.cpp +++ b/mozilla/layout/html/base/src/nsHTMLFrame.cpp @@ -57,9 +57,6 @@ static NS_DEFINE_IID(kIFrameIID, NS_IFRAME_IID); */ class RootFrame : public nsHTMLContainerFrame { public: - NS_IMETHOD SetInitialChildList(nsIPresContext& aPresContext, - nsIAtom* aListName, - nsIFrame* aChildList); NS_IMETHOD Reflow(nsIPresContext& aPresContext, nsHTMLReflowMetrics& aDesiredSize, const nsHTMLReflowState& aReflowState, @@ -104,15 +101,6 @@ NS_NewRootFrame(nsIFrame*& aResult) return NS_OK; } -NS_IMETHODIMP -RootFrame::SetInitialChildList(nsIPresContext& aPresContext, - nsIAtom* aListName, - nsIFrame* aChildList) -{ - mFrames.SetFrames(aChildList); - return NS_OK; -} - // XXX Temporary hack until we support the CSS2 'min-width', 'max-width', // 'min-height', and 'max-height' properties. Then we can do this in a top-down // fashion