Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight"
This commit is contained in:
@@ -601,7 +601,7 @@ nsHTMLButtonControlFrame::Reflow(nsIPresContext& aPresContext,
|
||||
mDidInit = PR_TRUE;
|
||||
}
|
||||
|
||||
nsSize availSize(aReflowState.maxSize);
|
||||
nsSize availSize(aReflowState.availableWidth, aReflowState.availableHeight);
|
||||
|
||||
// reflow the child
|
||||
nsHTMLReflowState reflowState(aPresContext, mFirstChild, aReflowState, availSize);
|
||||
|
||||
Reference in New Issue
Block a user