Remove unused height output from nsLineLayout::EndSpan. b=407086 r+sr=roc a=dsicore

git-svn-id: svn://10.0.0.236/trunk@240947 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dbaron%dbaron.org
2007-12-12 21:51:18 +00:00
parent ca599b55f9
commit 1dd488f200
4 changed files with 8 additions and 21 deletions

View File

@@ -536,11 +536,9 @@ nsInlineFrame::ReflowFrames(nsPresContext* aPresContext,
// line-height calculations. However, continuations of an inline
// that are empty we force to empty so that things like collapsed
// whitespace in an inline element don't affect the line-height.
nsSize size;
lineLayout->EndSpan(this, size);
aMetrics.width = lineLayout->EndSpan(this);
// Compute final width
aMetrics.width = size.width;
if (nsnull == GetPrevContinuation()) {
aMetrics.width += ltr ? aReflowState.mComputedBorderPadding.left
: aReflowState.mComputedBorderPadding.right;