Changed GetReflowMetrics() to take a reference to a nsIPresContext

This commit is contained in:
troy 1998-07-15 02:59:06 +00:00
Родитель a90fe8e1de
Коммит 711c31863c
4 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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;
/**