Removed dead methods; made ComputeHorizontalValue and ComputeVerticalValue instance methods instead of static methods

This commit is contained in:
kipp%netscape.com 1999-03-31 04:12:09 +00:00
parent a489ce58b2
commit 94ac1b47ff

View File

@ -264,17 +264,6 @@ struct nsHTMLReflowState : nsReflowState {
static const nsHTMLReflowState*
GetPageBoxReflowState(const nsReflowState* aParentRS);
/**
* Compute the margin for <TT>aFrame</TT>. If a percentage needs to
* be computed it will be computed by finding the containing block,
* use GetContainingBlockReflowState. aParentReflowState is aFrame's
* parent's reflow state. The resulting computed margin is returned
* in aResult.
*/
static void ComputeMarginFor(nsIFrame* aFrame,
const nsReflowState* aParentReflowState,
nsMargin& aResult);
/**
* Compute the border plus padding for <TT>aFrame</TT>. If a
* percentage needs to be computed it will be computed by finding
@ -321,12 +310,12 @@ protected:
void CalculateLeftRightMargin(const nsHTMLReflowState* aContainingBlockRS,
nscoord aComputedWidth);
static void ComputeHorizontalValue(nscoord aContainingBlockWidth,
void ComputeHorizontalValue(nscoord aContainingBlockWidth,
nsStyleUnit aUnit,
const nsStyleCoord& aCoord,
nscoord& aResult);
static void ComputeVerticalValue(nscoord aContainingBlockHeight,
void ComputeVerticalValue(nscoord aContainingBlockHeight,
nsStyleUnit aUnit,
const nsStyleCoord& aCoord,
nscoord& aResult);