From 6f88f28b10d53861efe44bc54fd91459ef28313f Mon Sep 17 00:00:00 2001 From: "putterman%netscape.com" Date: Wed, 12 Jan 2000 17:20:16 +0000 Subject: [PATCH] This should fix the build bustage. git-svn-id: svn://10.0.0.236/trunk@57554 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/generic/nsFrame.cpp | 54 ++++++++++++------------ mozilla/layout/html/base/src/nsFrame.cpp | 54 ++++++++++++------------ 2 files changed, 54 insertions(+), 54 deletions(-) diff --git a/mozilla/layout/generic/nsFrame.cpp b/mozilla/layout/generic/nsFrame.cpp index 857e2a67897..a5714824af6 100644 --- a/mozilla/layout/generic/nsFrame.cpp +++ b/mozilla/layout/generic/nsFrame.cpp @@ -2662,6 +2662,33 @@ nsFrame::GetFirstLeaf(nsIFrame **aFrame) } } +nsresult nsFrame::CreateAndPostReflowCommand(nsIPresShell* aPresShell, + nsIFrame* aTargetFrame, + nsIReflowCommand::ReflowType aReflowType, + nsIFrame* aChildFrame, + nsIAtom* aAttribute, + nsIAtom* aListName) +{ + nsresult rv; + + if (!aPresShell || !aTargetFrame) { + rv = NS_ERROR_NULL_POINTER; + } + else { + nsCOMPtr reflowCmd; + rv = NS_NewHTMLReflowCommand(getter_AddRefs(reflowCmd), aTargetFrame, + aReflowType, aChildFrame, + aAttribute); + if (NS_SUCCEEDED(rv)) { + if (nsnull != aListName) { + reflowCmd->SetChildListName(aListName); + } + aPresShell->AppendReflowCommand(reflowCmd); + } + } + + return rv; +} #ifdef NS_DEBUG static void @@ -2733,31 +2760,4 @@ nsFrame::VerifyDirtyBitSet(nsIFrame* aFrameList) } } -nsresult nsFrame::CreateAndPostReflowCommand(nsIPresShell* aPresShell, - nsIFrame* aTargetFrame, - nsIReflowCommand::ReflowType aReflowType, - nsIFrame* aChildFrame, - nsIAtom* aAttribute, - nsIAtom* aListName) -{ - nsresult rv; - - if (!aPresShell || !aTargetFrame) { - rv = NS_ERROR_NULL_POINTER; - } - else { - nsCOMPtr reflowCmd; - rv = NS_NewHTMLReflowCommand(getter_AddRefs(reflowCmd), aTargetFrame, - aReflowType, aChildFrame, - aAttribute); - if (NS_SUCCEEDED(rv)) { - if (nsnull != aListName) { - reflowCmd->SetChildListName(aListName); - } - aPresShell->AppendReflowCommand(reflowCmd); - } - } - - return rv; -} #endif diff --git a/mozilla/layout/html/base/src/nsFrame.cpp b/mozilla/layout/html/base/src/nsFrame.cpp index 857e2a67897..a5714824af6 100644 --- a/mozilla/layout/html/base/src/nsFrame.cpp +++ b/mozilla/layout/html/base/src/nsFrame.cpp @@ -2662,6 +2662,33 @@ nsFrame::GetFirstLeaf(nsIFrame **aFrame) } } +nsresult nsFrame::CreateAndPostReflowCommand(nsIPresShell* aPresShell, + nsIFrame* aTargetFrame, + nsIReflowCommand::ReflowType aReflowType, + nsIFrame* aChildFrame, + nsIAtom* aAttribute, + nsIAtom* aListName) +{ + nsresult rv; + + if (!aPresShell || !aTargetFrame) { + rv = NS_ERROR_NULL_POINTER; + } + else { + nsCOMPtr reflowCmd; + rv = NS_NewHTMLReflowCommand(getter_AddRefs(reflowCmd), aTargetFrame, + aReflowType, aChildFrame, + aAttribute); + if (NS_SUCCEEDED(rv)) { + if (nsnull != aListName) { + reflowCmd->SetChildListName(aListName); + } + aPresShell->AppendReflowCommand(reflowCmd); + } + } + + return rv; +} #ifdef NS_DEBUG static void @@ -2733,31 +2760,4 @@ nsFrame::VerifyDirtyBitSet(nsIFrame* aFrameList) } } -nsresult nsFrame::CreateAndPostReflowCommand(nsIPresShell* aPresShell, - nsIFrame* aTargetFrame, - nsIReflowCommand::ReflowType aReflowType, - nsIFrame* aChildFrame, - nsIAtom* aAttribute, - nsIAtom* aListName) -{ - nsresult rv; - - if (!aPresShell || !aTargetFrame) { - rv = NS_ERROR_NULL_POINTER; - } - else { - nsCOMPtr reflowCmd; - rv = NS_NewHTMLReflowCommand(getter_AddRefs(reflowCmd), aTargetFrame, - aReflowType, aChildFrame, - aAttribute); - if (NS_SUCCEEDED(rv)) { - if (nsnull != aListName) { - reflowCmd->SetChildListName(aListName); - } - aPresShell->AppendReflowCommand(reflowCmd); - } - } - - return rv; -} #endif