mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 22:25:30 +00:00
Pass on initial reflow to ProcessInitialReflow
This commit is contained in:
parent
47b716e3b4
commit
0ad4885eb9
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user