This should fix the build bustage.
git-svn-id: svn://10.0.0.236/trunk@57554 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
ed6e764e4a
commit
6f88f28b10
@ -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<nsIReflowCommand> 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<nsIReflowCommand> 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
|
||||
|
||||
@ -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<nsIReflowCommand> 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<nsIReflowCommand> 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user