Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight() git-svn-id: svn://10.0.0.236/trunk@13833 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -146,12 +146,12 @@ nsLegendFrame::Reflow(nsIPresContext& aPresContext,
|
||||
|
||||
// add in our border and padding to the size of the child
|
||||
aDesiredSize.width += borderPadding.left + borderPadding.right;
|
||||
if (aReflowState.HaveConstrainedWidth() && (aReflowState.minWidth > aDesiredSize.width)) {
|
||||
if (aReflowState.HaveFixedContentWidth() && (aReflowState.minWidth > aDesiredSize.width)) {
|
||||
aDesiredSize.width = aReflowState.minWidth;
|
||||
}
|
||||
|
||||
aDesiredSize.height += borderPadding.top + borderPadding.bottom;
|
||||
if (aReflowState.HaveConstrainedHeight() && (aReflowState.minHeight > aDesiredSize.height)) {
|
||||
if (aReflowState.HaveFixedContentHeight() && (aReflowState.minHeight > aDesiredSize.height)) {
|
||||
aDesiredSize.height = aReflowState.minHeight;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user