Changed Reflow() member function to take a reference to a nsIPresContext
instead of a pointer
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