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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user