Added an nsIPresContext& to html-reflow-state's ctors and used it to implement better percentage width/height handling
git-svn-id: svn://10.0.0.236/trunk@12575 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -156,7 +156,8 @@ NS_IMETHODIMP nsHTMLReflowCommand::Dispatch(nsIPresContext& aPresContext,
|
||||
if (nsnull != root) {
|
||||
mPath.RemoveElementAt(mPath.Count() - 1);
|
||||
|
||||
nsHTMLReflowState reflowState(root, *this, aMaxSize, &aRendContext);
|
||||
nsHTMLReflowState reflowState(aPresContext, root, *this, aMaxSize,
|
||||
&aRendContext);
|
||||
nsIHTMLReflow* htmlReflow;
|
||||
nsReflowStatus status;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user