Bug 1797009 - Use PushTruncatedLine() once more. r=layout-reviewers,emilio

Differential Revision: https://phabricator.services.mozilla.com/D160171
This commit is contained in:
Ting-Yu Lin 2022-10-25 17:28:28 +00:00
Родитель db2cf07ec5
Коммит d0b5d62f69
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -2881,9 +2881,7 @@ void nsBlockFrame::ReflowDirtyLines(BlockReflowState& aState) {
// Immediately fragment for page-name. It is possible we could break
// out of the loop right here, but this should make it more similar to
// what happens when reflow causes fragmentation.
keepGoing = false;
PushLines(aState, line.prev());
aState.mReflowStatus.SetIncomplete();
PushTruncatedLine(aState, line, &keepGoing);
} else {
// Reflow the dirty line. If it's an incremental reflow, then force
// it to invalidate the dirty area if necessary