Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc

This commit is contained in:
tbogard@aol.net
1999-11-24 06:03:41 +00:00
parent bc8963c485
commit 617bb737a6
535 changed files with 5285 additions and 5223 deletions
+6 -6
View File
@@ -107,7 +107,7 @@ void nsHTMLReflowCommand::BuildPath()
}
}
NS_IMETHODIMP nsHTMLReflowCommand::Dispatch(nsIPresContext& aPresContext,
NS_IMETHODIMP nsHTMLReflowCommand::Dispatch(nsIPresContext* aPresContext,
nsHTMLReflowMetrics& aDesiredSize,
const nsSize& aMaxSize,
nsIRenderingContext& aRendContext)
@@ -120,7 +120,7 @@ NS_IMETHODIMP nsHTMLReflowCommand::Dispatch(nsIPresContext& aPresContext,
#ifdef NS_DEBUG
nsCOMPtr<nsIPresShell> shell;
aPresContext.GetShell(getter_AddRefs(shell));
aPresContext->GetShell(getter_AddRefs(shell));
if (shell) {
nsIFrame* rootFrame;
shell->GetRootFrame(&rootFrame);
@@ -137,14 +137,14 @@ NS_IMETHODIMP nsHTMLReflowCommand::Dispatch(nsIPresContext& aPresContext,
nsIView* view;
root->WillReflow(aPresContext);
root->GetView(&aPresContext, &view);
root->GetView(aPresContext, &view);
if (view) {
nsContainerFrame::PositionFrameView(&aPresContext, root, view);
nsContainerFrame::PositionFrameView(aPresContext, root, view);
}
root->Reflow(aPresContext, aDesiredSize, reflowState, status);
root->SizeTo(&aPresContext, aDesiredSize.width, aDesiredSize.height);
root->SizeTo(aPresContext, aDesiredSize.width, aDesiredSize.height);
if (view) {
nsContainerFrame::SyncFrameViewAfterReflow(&aPresContext, root, view,
nsContainerFrame::SyncFrameViewAfterReflow(aPresContext, root, view,
nsnull);
}
root->DidReflow(aPresContext, NS_FRAME_REFLOW_FINISHED);