зеркало из https://github.com/mozilla/pjs.git
Removed dead methods; made ComputeHorizontalValue and ComputeVerticalValue instance methods instead of static methods
This commit is contained in:
Родитель
4c435810fd
Коммит
2e3f0b1a26
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче