Pass on initial reflow to ProcessInitialReflow
git-svn-id: svn://10.0.0.236/trunk@2606 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -801,7 +801,12 @@ NS_METHOD nsInlineFrame::Reflow(nsIPresContext* aPresContext,
|
||||
}
|
||||
#endif
|
||||
|
||||
//XXX not now NS_PRECONDITION((aMaxSize.width > 0) && (aMaxSize.height > 0), "unexpected max size");
|
||||
if (eReflowReason_Initial == aReflowState.reason) {
|
||||
nsresult rv = ProcessInitialReflow(aPresContext);
|
||||
if (NS_OK != rv) {
|
||||
return rv;
|
||||
}
|
||||
}
|
||||
|
||||
PRBool reflowMappedOK = PR_TRUE;
|
||||
|
||||
|
||||
@@ -801,7 +801,12 @@ NS_METHOD nsInlineFrame::Reflow(nsIPresContext* aPresContext,
|
||||
}
|
||||
#endif
|
||||
|
||||
//XXX not now NS_PRECONDITION((aMaxSize.width > 0) && (aMaxSize.height > 0), "unexpected max size");
|
||||
if (eReflowReason_Initial == aReflowState.reason) {
|
||||
nsresult rv = ProcessInitialReflow(aPresContext);
|
||||
if (NS_OK != rv) {
|
||||
return rv;
|
||||
}
|
||||
}
|
||||
|
||||
PRBool reflowMappedOK = PR_TRUE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user