Move reflow command construction into nsPresShell::AppendReflowCommand, remove

some members, switch some callers to the non-COM-ish apis.  Bug 267085, r+sr=rbs
This commit is contained in:
bzbarsky@mit.edu
2005-02-08 00:59:52 +00:00
parent d744f69b1f
commit 83d699eccc
23 changed files with 126 additions and 374 deletions
+3 -6
View File
@@ -381,12 +381,9 @@ void
nsFormControlHelper::StyleChangeReflow(nsPresContext* aPresContext,
nsIFrame* aFrame)
{
nsHTMLReflowCommand* reflowCmd;
nsresult rv = NS_NewHTMLReflowCommand(&reflowCmd, aFrame,
eReflowType_StyleChanged);
if (NS_SUCCEEDED(rv)) {
aPresContext->PresShell()->AppendReflowCommand(reflowCmd);
}
aPresContext->PresShell()->AppendReflowCommand(aFrame,
eReflowType_StyleChanged,
nsnull);
}