зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1341009 - Reset aStatus before calling nsLineLayout::ReflowFrame(). r=dholbert
This ensures the nsIFrame::Reflow() call in nsLineLayout::ReflowFrame() is using an empty reflow status. MozReview-Commit-ID: EBHs8xX7MI1 --HG-- extra : rebase_source : 806d5b542e1165b80e98d154c10d8c1c56b26a74
This commit is contained in:
Родитель
d96347edaf
Коммит
b4783231a0
|
@ -794,6 +794,7 @@ nsInlineFrame::ReflowInlineFrame(nsPresContext* aPresContext,
|
|||
nsLineLayout* lineLayout = aReflowInput.mLineLayout;
|
||||
bool reflowingFirstLetter = lineLayout->GetFirstLetterStyleOK();
|
||||
bool pushedFrame;
|
||||
aStatus.Reset();
|
||||
lineLayout->ReflowFrame(aFrame, aStatus, nullptr, pushedFrame);
|
||||
|
||||
if (aStatus.IsInlineBreakBefore()) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче