Bug 1700472 - Add braces to SetPaginatedScrolling. r=dholbert

Drive-by fixup while I was reading related code.

Depends on D109545

Differential Revision: https://phabricator.services.mozilla.com/D109546
This commit is contained in:
Emilio Cobos Álvarez 2021-03-23 22:31:07 +00:00
Родитель 96b57ed405
Коммит 0bdcb35e12
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -1665,8 +1665,9 @@ nsCompatibility nsPresContext::CompatibilityMode() const {
}
void nsPresContext::SetPaginatedScrolling(bool aPaginated) {
if (mType == eContext_PrintPreview || mType == eContext_PageLayout)
if (mType == eContext_PrintPreview || mType == eContext_PageLayout) {
mCanPaginatedScroll = aPaginated;
}
}
void nsPresContext::SetPrintSettings(nsIPrintSettings* aPrintSettings) {