зеркало из 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:
Родитель
96b57ed405
Коммит
0bdcb35e12
|
@ -1665,9 +1665,10 @@ 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) {
|
||||
if (mMedium != nsGkAtoms::print) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче