Bug 1116037 part 12 - Move mLineSize to RubyReflowState. r=dbaron

This commit is contained in:
Xidorn Quan
2014-12-30 11:20:10 +11:00
parent 6e53ba9ae1
commit 2dffaa6260
6 changed files with 16 additions and 16 deletions

View File

@@ -430,8 +430,7 @@ nsRubyBaseContainerFrame::Reflow(nsPresContext* aPresContext,
lineLayout->VerticalAlignLine();
LogicalSize lineSize(lineWM, isize, lineLayout->GetFinalLineBSize());
textContainer->SetLineSize(lineSize);
aReflowState.mRubyReflowState->SetTextContainerInfo(i, textContainer);
aReflowState.mRubyReflowState->SetTextContainerInfo(i, textContainer, lineSize);
lineLayout->EndLineReflow();
}