Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@110644 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
#include "nsIScrollableView.h"
|
||||
#include "nsIDOMHTMLOptGroupElement.h"
|
||||
#include "nsWidgetsCID.h"
|
||||
#include "nsIReflowCommand.h"
|
||||
#include "nsHTMLReflowCommand.h"
|
||||
#include "nsIPresShell.h"
|
||||
#include "nsHTMLParts.h"
|
||||
#include "nsIDOMEventReceiver.h"
|
||||
@@ -784,7 +784,7 @@ nsListControlFrame::Reflow(nsIPresContext* aPresContext,
|
||||
nsIFrame* targetFrame;
|
||||
firstPassState.reflowCommand->GetTarget(targetFrame);
|
||||
if (this == targetFrame) {
|
||||
nsIReflowCommand::ReflowType type;
|
||||
nsReflowType type;
|
||||
aReflowState.reflowCommand->GetType(type);
|
||||
firstPassState.reason = eReflowReason_StyleChange;
|
||||
firstPassState.reflowCommand = nsnull;
|
||||
@@ -798,7 +798,7 @@ nsListControlFrame::Reflow(nsIPresContext* aPresContext,
|
||||
NS_ASSERTION(aDesiredSize.height < 100000, "Height is still NS_UNCONSTRAINEDSIZE");
|
||||
return res;
|
||||
}
|
||||
nsIReflowCommand::ReflowType type;
|
||||
nsReflowType type;
|
||||
aReflowState.reflowCommand->GetType(type);
|
||||
firstPassState.reason = eReflowReason_StyleChange;
|
||||
firstPassState.reflowCommand = nsnull;
|
||||
|
||||
Reference in New Issue
Block a user