Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight" git-svn-id: svn://10.0.0.236/trunk@17201 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -113,7 +113,7 @@ NS_METHOD FixedSizeFrame::Reflow(nsIPresContext& aPresContext,
|
||||
const nsReflowState& aReflowState,
|
||||
nsReflowStatus& aStatus)
|
||||
{
|
||||
NS_PRECONDITION((aReflowState.maxSize.width > 0) && (aReflowState.maxSize.height > 0),
|
||||
NS_PRECONDITION((aReflowState.availableWidth > 0) && (aReflowState.availableHeight > 0),
|
||||
"bad max size");
|
||||
FixedSizeContent* content = (FixedSizeContent*)mContent;
|
||||
nsReflowStatus status = NS_FRAME_COMPLETE;
|
||||
|
||||
Reference in New Issue
Block a user