Changed Reflow() member function to take a reference to a nsIPresContext
instead of a pointer git-svn-id: svn://10.0.0.236/trunk@5565 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -127,7 +127,7 @@ NS_IMETHODIMP nsHTMLReflowCommand::Dispatch(nsIPresContext& aPresContext,
|
||||
|
||||
nsReflowState reflowState(root, *this, aMaxSize);
|
||||
nsReflowStatus status;
|
||||
root->Reflow(&aPresContext, aDesiredSize, reflowState, status);
|
||||
root->Reflow(aPresContext, aDesiredSize, reflowState, status);
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
|
||||
Reference in New Issue
Block a user