зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
2656f9a4d1
Коммит
0c7e8b4d04
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче