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:
@@ -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;
|
||||
|
||||
/**
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user