mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Removed dead methods; made ComputeHorizontalValue and ComputeVerticalValue instance methods instead of static methods
This commit is contained in:
parent
a489ce58b2
commit
94ac1b47ff
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user