From a87ea4d2338e504af11236963f81afe22962c8da Mon Sep 17 00:00:00 2001 From: "troy%netscape.com" Date: Tue, 30 Nov 1999 04:48:34 +0000 Subject: [PATCH] Changes parameter to be "const nsRect*" and changed a comment --- layout/generic/nsContainerFrame.cpp | 2 +- layout/generic/nsContainerFrame.h | 5 ++--- layout/html/base/src/nsContainerFrame.cpp | 2 +- layout/html/base/src/nsContainerFrame.h | 5 ++--- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/layout/generic/nsContainerFrame.cpp b/layout/generic/nsContainerFrame.cpp index 97fccbbae731..f4f22f65c806 100644 --- a/layout/generic/nsContainerFrame.cpp +++ b/layout/generic/nsContainerFrame.cpp @@ -432,7 +432,7 @@ void nsContainerFrame::SyncFrameViewAfterReflow(nsIPresContext* aPresContext, nsIFrame* aFrame, nsIView* aView, - nsRect* aCombinedArea, + const nsRect* aCombinedArea, PRUint32 aFlags) { if (aView) { diff --git a/layout/generic/nsContainerFrame.h b/layout/generic/nsContainerFrame.h index 6a7e08f4fe8e..64b62dfe20bd 100644 --- a/layout/generic/nsContainerFrame.h +++ b/layout/generic/nsContainerFrame.h @@ -91,12 +91,11 @@ public: // Flags: // NS_FRAME_NO_MOVE_VIEW - don't position the frame's view. Set this if you // don't want to automatically sync the frame and view - // NS_FRAME_NO_MOVE_VIEW - don't move the frame. aX and aY are ignored in this - // case. Also implies NS_FRAME_NO_MOVE_VIEW + // NS_FRAME_NO_SIZE_VIEW - don't size the view static void SyncFrameViewAfterReflow(nsIPresContext* aPresContext, nsIFrame* aFrame, nsIView* aView, - nsRect* aCombinedArea, + const nsRect* aCombinedArea, PRUint32 aFlags = 0); /** diff --git a/layout/html/base/src/nsContainerFrame.cpp b/layout/html/base/src/nsContainerFrame.cpp index 97fccbbae731..f4f22f65c806 100644 --- a/layout/html/base/src/nsContainerFrame.cpp +++ b/layout/html/base/src/nsContainerFrame.cpp @@ -432,7 +432,7 @@ void nsContainerFrame::SyncFrameViewAfterReflow(nsIPresContext* aPresContext, nsIFrame* aFrame, nsIView* aView, - nsRect* aCombinedArea, + const nsRect* aCombinedArea, PRUint32 aFlags) { if (aView) { diff --git a/layout/html/base/src/nsContainerFrame.h b/layout/html/base/src/nsContainerFrame.h index 6a7e08f4fe8e..64b62dfe20bd 100644 --- a/layout/html/base/src/nsContainerFrame.h +++ b/layout/html/base/src/nsContainerFrame.h @@ -91,12 +91,11 @@ public: // Flags: // NS_FRAME_NO_MOVE_VIEW - don't position the frame's view. Set this if you // don't want to automatically sync the frame and view - // NS_FRAME_NO_MOVE_VIEW - don't move the frame. aX and aY are ignored in this - // case. Also implies NS_FRAME_NO_MOVE_VIEW + // NS_FRAME_NO_SIZE_VIEW - don't size the view static void SyncFrameViewAfterReflow(nsIPresContext* aPresContext, nsIFrame* aFrame, nsIView* aView, - nsRect* aCombinedArea, + const nsRect* aCombinedArea, PRUint32 aFlags = 0); /**