From d2550f1dbb88fb1e147c0fe9c47ab3017d6c6077 Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Fri, 26 Feb 1999 17:07:01 +0000 Subject: [PATCH] Removed MoveOutOfFlow git-svn-id: svn://10.0.0.236/trunk@22131 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/generic/nsHTMLContainerFrame.cpp | 2 ++ mozilla/layout/generic/nsHTMLContainerFrame.h | 2 ++ mozilla/layout/html/base/src/nsHTMLContainerFrame.cpp | 2 ++ mozilla/layout/html/base/src/nsHTMLContainerFrame.h | 2 ++ 4 files changed, 8 insertions(+) diff --git a/mozilla/layout/generic/nsHTMLContainerFrame.cpp b/mozilla/layout/generic/nsHTMLContainerFrame.cpp index 9aa92074d2e..bfb5247fa37 100644 --- a/mozilla/layout/generic/nsHTMLContainerFrame.cpp +++ b/mozilla/layout/generic/nsHTMLContainerFrame.cpp @@ -106,6 +106,7 @@ nsHTMLContainerFrame::CreatePlaceholderFrame(nsIPresContext& aPresContext, return placeholder; } +#if 0 // XXX pass in aFrame's style context instead PRBool nsHTMLContainerFrame::MoveFrameOutOfFlow(nsIPresContext& aPresContext, @@ -140,6 +141,7 @@ nsHTMLContainerFrame::MoveFrameOutOfFlow(nsIPresContext& aPresContext, return PR_FALSE; } +#endif /** * Create a next-in-flow for aFrame. Will return the newly created diff --git a/mozilla/layout/generic/nsHTMLContainerFrame.h b/mozilla/layout/generic/nsHTMLContainerFrame.h index 644b24443c0..64eeb9d090b 100644 --- a/mozilla/layout/generic/nsHTMLContainerFrame.h +++ b/mozilla/layout/generic/nsHTMLContainerFrame.h @@ -45,11 +45,13 @@ public: // sibling pointers. // XXX bad api - need nsresult in case we attempt to move out of the // flow and run out of memory +#if 0 PRBool MoveFrameOutOfFlow(nsIPresContext& aPresContext, nsIFrame* aFrame, const nsStyleDisplay* aDisplay, const nsStylePosition* aPosition, nsIFrame*& aPlaceholderFrame); +#endif /** * Helper method to create next-in-flows if necessary. If aFrame diff --git a/mozilla/layout/html/base/src/nsHTMLContainerFrame.cpp b/mozilla/layout/html/base/src/nsHTMLContainerFrame.cpp index 9aa92074d2e..bfb5247fa37 100644 --- a/mozilla/layout/html/base/src/nsHTMLContainerFrame.cpp +++ b/mozilla/layout/html/base/src/nsHTMLContainerFrame.cpp @@ -106,6 +106,7 @@ nsHTMLContainerFrame::CreatePlaceholderFrame(nsIPresContext& aPresContext, return placeholder; } +#if 0 // XXX pass in aFrame's style context instead PRBool nsHTMLContainerFrame::MoveFrameOutOfFlow(nsIPresContext& aPresContext, @@ -140,6 +141,7 @@ nsHTMLContainerFrame::MoveFrameOutOfFlow(nsIPresContext& aPresContext, return PR_FALSE; } +#endif /** * Create a next-in-flow for aFrame. Will return the newly created diff --git a/mozilla/layout/html/base/src/nsHTMLContainerFrame.h b/mozilla/layout/html/base/src/nsHTMLContainerFrame.h index 644b24443c0..64eeb9d090b 100644 --- a/mozilla/layout/html/base/src/nsHTMLContainerFrame.h +++ b/mozilla/layout/html/base/src/nsHTMLContainerFrame.h @@ -45,11 +45,13 @@ public: // sibling pointers. // XXX bad api - need nsresult in case we attempt to move out of the // flow and run out of memory +#if 0 PRBool MoveFrameOutOfFlow(nsIPresContext& aPresContext, nsIFrame* aFrame, const nsStyleDisplay* aDisplay, const nsStylePosition* aPosition, nsIFrame*& aPlaceholderFrame); +#endif /** * Helper method to create next-in-flows if necessary. If aFrame