Changed GetReflowMetrics() to take a reference to a nsIPresContext

git-svn-id: svn://10.0.0.236/trunk@5566 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy
1998-07-15 02:59:06 +00:00
parent 547dc8ae9b
commit 81b8ba2d1c
4 changed files with 4 additions and 4 deletions

View File

@@ -525,7 +525,7 @@ public:
* ascent of the line's children). Note that the metrics returned
* apply to the frame as it exists at the time of the call.
*/
NS_IMETHOD GetReflowMetrics(nsIPresContext* aPresContext,
NS_IMETHOD GetReflowMetrics(nsIPresContext& aPresContext,
nsReflowMetrics& aMetrics) = 0;
/**

View File

@@ -1123,7 +1123,7 @@ NS_METHOD nsFrame::ContentChanged(nsIPresShell* aShell,
return NS_OK;
}
NS_METHOD nsFrame::GetReflowMetrics(nsIPresContext* aPresContext,
NS_METHOD nsFrame::GetReflowMetrics(nsIPresContext& aPresContext,
nsReflowMetrics& aMetrics)
{
aMetrics.width = mRect.width;

View File

@@ -174,7 +174,7 @@ public:
nsIPresContext* aPresContext,
nsIContent* aChild,
nsISupports* aSubContent);
NS_IMETHOD GetReflowMetrics(nsIPresContext* aPresContext,
NS_IMETHOD GetReflowMetrics(nsIPresContext& aPresContext,
nsReflowMetrics& aMetrics);
NS_IMETHOD IsSplittable(nsSplittableType& aIsSplittable) const;
NS_IMETHOD CreateContinuingFrame(nsIPresContext* aPresContext,

View File

@@ -525,7 +525,7 @@ public:
* ascent of the line's children). Note that the metrics returned
* apply to the frame as it exists at the time of the call.
*/
NS_IMETHOD GetReflowMetrics(nsIPresContext* aPresContext,
NS_IMETHOD GetReflowMetrics(nsIPresContext& aPresContext,
nsReflowMetrics& aMetrics) = 0;
/**