Bug 312963. Apply aTryPull to pulls of inline frames as well as lines. r+sr=dbaron

This commit is contained in:
roc+%cs.cmu.edu 2006-09-22 02:04:56 +00:00
parent 516ce211dd
commit ae80e3d181

View File

@ -429,12 +429,15 @@ protected:
* @param aState the current reflow state
* @param aLine the line to reflow. can contain a single block frame
* or contain 1 or more inline frames.
* @param aTryPull controls whether we are allowed to try pulling
* frames from the next-in-flow
* @param aKeepReflowGoing [OUT] indicates whether the caller should continue to reflow more lines
* @param aDamageDirtyArea if PR_TRUE, do extra work to mark the changed areas as damaged for painting
* this indicates that frames may have changed size, for example
*/
nsresult ReflowLine(nsBlockReflowState& aState,
line_iterator aLine,
PRBool aTryPull,
PRBool* aKeepReflowGoing,
PRBool aDamageDirtyArea = PR_FALSE);
@ -476,6 +479,7 @@ protected:
nsresult ReflowInlineFrames(nsBlockReflowState& aState,
line_iterator aLine,
PRBool aTryPull,
PRBool* aKeepLineGoing,
PRBool aDamageDirtyArea,
PRBool aUpdateMaximumWidth = PR_FALSE);